|
@@ -60,7 +60,7 @@ $color = ( !isset($color) ? array() : $color );
|
|
$chosen_theme = getPref($data_dir, $username, 'chosen_theme');
|
|
$chosen_theme = getPref($data_dir, $username, 'chosen_theme');
|
|
$found_theme = false;
|
|
$found_theme = false;
|
|
|
|
|
|
-// need to adjust $chosen_theme path with SM_PATH */
|
|
|
|
|
|
+// need to adjust $chosen_theme path with SM_PATH
|
|
$chosen_theme = preg_replace("/(\.\.\/){1,}/", SM_PATH, $chosen_theme);
|
|
$chosen_theme = preg_replace("/(\.\.\/){1,}/", SM_PATH, $chosen_theme);
|
|
|
|
|
|
for ($i = 0; $i < count($theme); ++$i){
|
|
for ($i = 0; $i < count($theme); ++$i){
|