@@ -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 | } |
@@ -374,7 +374,7 @@ |
||
374 | 374 | if (stristr($this->agent, 'FacebookExternalHit')) { |
375 | 375 | $this->setRobot(true); |
376 | 376 | $this->setFacebook(true); |
377 | - } else if (stristr($this->agent, 'FBIOS')) { |
|
377 | + } else if (stristr($this->agent, 'FBIOS')) { |
|
378 | 378 | $this->setFacebook(true); |
379 | 379 | } |
380 | 380 | } |