Revision 1625
Added by Dietmar over 12 years ago
rename.php | ||
---|---|---|
95 | 95 |
} |
96 | 96 |
|
97 | 97 |
// Setup template object, parse vars to it, then parse it |
98 |
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('media_rename.htt')); |
|
99 | 98 |
// Create new template object |
100 |
$template = new Template($ThemePath);
|
|
99 |
$template = new Template(dirname($admin->correct_theme_source('media_rename.htt')));
|
|
101 | 100 |
$template->set_file('page', 'media_rename.htt'); |
102 | 101 |
$template->set_block('page', 'main_block', 'main'); |
103 | 102 |
//echo WB_PATH.'/media/'.$directory.'/'.$rename_file; |
Also available in: Unified diff
! update correct_theme_source and fixed the call in all files