@@ -311,7 +311,7 @@ |
||
| 311 | 311 | protected function getDefaultFilePathForFunctionLanguage($file, $type, $appLang = null){ |
| 312 | 312 | $searchDir = null; |
| 313 | 313 | if ($type == 'function') { |
| 314 | - $searchDir = array(FUNCTIONS_PATH, CORE_FUNCTIONS_PATH); |
|
| 314 | + $searchDir = array(FUNCTIONS_PATH, CORE_FUNCTIONS_PATH); |
|
| 315 | 315 | } |
| 316 | 316 | else if ($type == 'language') { |
| 317 | 317 | $searchDir = array(APP_LANG_PATH, CORE_LANG_PATH); |
@@ -308,7 +308,7 @@ discard block |
||
| 308 | 308 | * @param string $appLang the application language, only if type = "language" |
| 309 | 309 | * @return string|null the full file path |
| 310 | 310 | */ |
| 311 | - protected function getDefaultFilePathForFunctionLanguage($file, $type, $appLang = null){ |
|
| 311 | + protected function getDefaultFilePathForFunctionLanguage($file, $type, $appLang = null) { |
|
| 312 | 312 | $searchDir = null; |
| 313 | 313 | if ($type == 'function') { |
| 314 | 314 | $searchDir = array(FUNCTIONS_PATH, CORE_FUNCTIONS_PATH); |
@@ -334,7 +334,7 @@ discard block |
||
| 334 | 334 | * @param string|null $module the module if is not null will return it |
| 335 | 335 | * @return string|null |
| 336 | 336 | */ |
| 337 | - protected function getModuleFromSuperController($module){ |
|
| 337 | + protected function getModuleFromSuperController($module) { |
|
| 338 | 338 | $obj = & get_instance(); |
| 339 | 339 | if (!$module && !empty($obj->moduleName)) { |
| 340 | 340 | $module = $obj->moduleName; |
@@ -163,17 +163,17 @@ |
||
| 163 | 163 | } |
| 164 | 164 | |
| 165 | 165 | /** |
| 166 | - * Return the server port using variable |
|
| 167 | - * |
|
| 168 | - * @codeCoverageIgnore |
|
| 169 | - * @return string |
|
| 170 | - */ |
|
| 166 | + * Return the server port using variable |
|
| 167 | + * |
|
| 168 | + * @codeCoverageIgnore |
|
| 169 | + * @return string |
|
| 170 | + */ |
|
| 171 | 171 | protected function getServerPort() { |
| 172 | 172 | $globals = & class_loader('GlobalVar', 'classes'); |
| 173 | 173 | $serverPortValue = $globals->server('SERVER_PORT'); |
| 174 | 174 | $serverPort = 80; |
| 175 | 175 | if ($serverPortValue) { |
| 176 | - $serverPort = $serverPortValue; |
|
| 176 | + $serverPort = $serverPortValue; |
|
| 177 | 177 | } |
| 178 | 178 | $port = ''; |
| 179 | 179 | if ((is_https() && $serverPort != 443) || (!is_https() && $serverPort != 80)) { |