@@ 93-95 (lines=3) @@ | ||
90 | } |
|
91 | ||
92 | //does the style exist? |
|
93 | if (!file_exists(__DIR__ . '/../lang/' . $lang . '/' . $style . '/')) { |
|
94 | $style = 'ocstyle'; |
|
95 | } |
|
96 | ||
97 | if (!file_exists(__DIR__ . '/../lang/' . $lang . '/' . $style . '/')) { |
|
98 | die('Critical Error: The specified style does not exist!'); |
|
@@ 97-99 (lines=3) @@ | ||
94 | $style = 'ocstyle'; |
|
95 | } |
|
96 | ||
97 | if (!file_exists(__DIR__ . '/../lang/' . $lang . '/' . $style . '/')) { |
|
98 | die('Critical Error: The specified style does not exist!'); |
|
99 | } |
|
100 | ||
101 | //set up the language path |
|
102 | if (!isset($langpath)) { |