@@ -102,7 +102,7 @@ discard block |
||
| 102 | 102 | protected function clean_styles() |
| 103 | 103 | { |
| 104 | 104 | $routes_ary = array_keys($this->manager->get_routes('style')); |
| 105 | - $style_ids = $this->get_style_ids(); |
|
| 105 | + $style_ids = $this->get_style_ids(); |
|
| 106 | 106 | $col_widths = (array) json_decode($this->config['sitemaker_column_widths'], true); |
| 107 | 107 | |
| 108 | 108 | foreach ($routes_ary as $style_id) |
@@ -131,7 +131,7 @@ discard block |
||
| 131 | 131 | protected function clean_routes() |
| 132 | 132 | { |
| 133 | 133 | $board_url = generate_board_url(); |
| 134 | - $routes = $this->manager->get_routes('route'); |
|
| 134 | + $routes = $this->manager->get_routes('route'); |
|
| 135 | 135 | |
| 136 | 136 | foreach ($routes as $route => $row) |
| 137 | 137 | { |
@@ -53,7 +53,7 @@ |
||
| 53 | 53 | $this->config_path = $config_path; |
| 54 | 54 | $this->php_ext = $php_ext; |
| 55 | 55 | |
| 56 | - $this->config_template = __DIR__.'/default.config'; |
|
| 56 | + $this->config_template = __DIR__ . '/default.config'; |
|
| 57 | 57 | } |
| 58 | 58 | |
| 59 | 59 | /** |
@@ -11,11 +11,13 @@ |
||
| 11 | 11 | /** |
| 12 | 12 | * DO NOT CHANGE |
| 13 | 13 | */ |
| 14 | -if (!defined('IN_PHPBB')) { |
|
| 14 | +if (!defined('IN_PHPBB')) |
|
| 15 | +{ |
|
| 15 | 16 | exit; |
| 16 | 17 | } |
| 17 | 18 | |
| 18 | -if (empty($lang) || !is_array($lang)) { |
|
| 19 | +if (empty($lang) || !is_array($lang)) |
|
| 20 | +{ |
|
| 19 | 21 | $lang = array(); |
| 20 | 22 | } |
| 21 | 23 | |