@@ -3,7 +3,7 @@ discard block |
||
| 3 | 3 | class GlobalConfig { |
| 4 | 4 | private $languages; |
| 5 | 5 | |
| 6 | - public function __construct($config_name=null) |
|
| 6 | + public function __construct($config_name = null) |
|
| 7 | 7 | { |
| 8 | 8 | try { |
| 9 | 9 | $file_path = dirname(__FILE__); |
@@ -12,7 +12,7 @@ discard block |
||
| 12 | 12 | } else { |
| 13 | 13 | $file_path .= '/../config.inc'; |
| 14 | 14 | } |
| 15 | - if (!file_exists(dirname(__FILE__).'/../config.inc')) { |
|
| 15 | + if (!file_exists(dirname(__FILE__) . '/../config.inc')) { |
|
| 16 | 16 | throw new Exception('config.inc file is missing, please provide one.'); |
| 17 | 17 | } |
| 18 | 18 | require_once($file_path); |