Revision 1651
Added by darkviper over 12 years ago
index.php | ||
---|---|---|
106 | 106 |
. 'WHERE `directory`=\''.DEFAULT_THEME.'\' AND `function`=\'theme\''; |
107 | 107 |
$tmp = $database->get_one($sql); |
108 | 108 |
$template->set_var('THEME_DEFAULT_NAME', $tmp); |
109 |
$template->set_var('THEME_PATH', THEME_PATH); |
|
109 |
$template->set_var('CURRENT_THEME', $tmp); |
|
110 |
$tmp = str_replace(str_replace('\\', '/', WB_PATH), '', str_replace('\\', '/', THEME_PATH)); |
|
111 |
$template->set_var('THEME_PATH', $tmp); |
|
110 | 112 |
// end copy current theme |
111 | 113 |
// start template import |
112 | 114 |
include(dirname(__FILE__).'/CopyThemeHtt.php'); |
Also available in: Unified diff
fixed a little problem with chmod()