correct typo in variable name and remove unused variable
This commit is contained in:
parent
3a53491810
commit
d61ccf69f7
1 changed files with 2 additions and 2 deletions
|
@ -167,7 +167,7 @@ class Settings implements \Iterator
|
||||||
// load and merge Prefix.mode.conf.php
|
// load and merge Prefix.mode.conf.php
|
||||||
if ( isset( $modes[ $this->mode ] ) )
|
if ( isset( $modes[ $this->mode ] ) )
|
||||||
{
|
{
|
||||||
$modeConf = $this->buildFileName( $modes[ $this->mode ], $ext );
|
$modeConf = $this->buildFileName( $modes[ $this->mode ] );
|
||||||
|
|
||||||
if ( file_exists($modeConf) )
|
if ( file_exists($modeConf) )
|
||||||
{
|
{
|
||||||
|
@ -224,7 +224,7 @@ class Settings implements \Iterator
|
||||||
$mode = '';
|
$mode = '';
|
||||||
$path = $this->appPath.$this->confDir;
|
$path = $this->appPath.$this->confDir;
|
||||||
|
|
||||||
if ($tpye === self::SITE) $path .= $this->site.'/';
|
if ($type === self::SITE) $path .= $this->site.'/';
|
||||||
|
|
||||||
if (is_string( $type ))
|
if (is_string( $type ))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue