@@ -316,8 +316,7 @@ |
||
316 | 316 | $searchDir = null; |
317 | 317 | if ($type == 'function') { |
318 | 318 | $searchDir = array(FUNCTIONS_PATH, CORE_FUNCTIONS_PATH); |
319 | - } |
|
320 | - else if ($type == 'language') { |
|
319 | + } else if ($type == 'language') { |
|
321 | 320 | $searchDir = array(APP_LANG_PATH, CORE_LANG_PATH); |
322 | 321 | $file = $appLang . DS . $file; |
323 | 322 | } |
@@ -318,7 +318,7 @@ |
||
318 | 318 | if (stristr($this->agent, 'FacebookExternalHit')) { |
319 | 319 | $this->isRobot = true; |
320 | 320 | $this->isFacebook = true; |
321 | - } else if (stristr($this->agent, 'FBIOS')) { |
|
321 | + } else if (stristr($this->agent, 'FBIOS')) { |
|
322 | 322 | $this->isFacebook = true; |
323 | 323 | } |
324 | 324 | } |