mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-03 21:15:42 +02:00
Wouldn't copy theme/template files from unarchived location to destination ... this should fix that.
git-svn-id: file:///svn/phpbb/trunk@4376 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
0b4d299df9
commit
c8669abf9d
@ -353,7 +353,7 @@ switch ($mode)
|
||||
{
|
||||
@mkdir("{$phpbb_root_path}styles/$template_path", 0777);
|
||||
@chmod("{$phpbb_root_path}styles/$template_path", 0777);
|
||||
copy_files($root_path, filelist("{$root_path}template", '', '*'), "$template_path/template");
|
||||
copy_files("{$root_path}template", filelist("{$root_path}template", '', '*'), "$template_path/template");
|
||||
}
|
||||
|
||||
$template_storedb = (!is_writeable("{$phpbb_root_path}styles/$template_path/template")) ? 1 : 0;
|
||||
@ -393,7 +393,7 @@ switch ($mode)
|
||||
|
||||
@mkdir("{$phpbb_root_path}styles/$theme_path", 0777);
|
||||
@chmod("{$phpbb_root_path}/$theme_path", 0777);
|
||||
copy_files($root_path, filelist("{$root_path}theme", '', '*'), "$theme_path/theme");
|
||||
copy_files("{$root_path}theme", filelist("{$root_path}theme", '', '*'), "$theme_path/theme");
|
||||
}
|
||||
|
||||
$theme_storedb = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user