aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2003-08-11 01:16:29 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2003-08-11 01:16:29 +0000
commitc8669abf9d80dc09bafcca589cb85827b48f7c1f (patch)
treefa994c24542cd3f2c0682ca381badb060aa791c6 /phpBB
parent0b4d299df9c8b209bf9dfe114079dad80a21bf9d (diff)
downloadforums-c8669abf9d80dc09bafcca589cb85827b48f7c1f.tar
forums-c8669abf9d80dc09bafcca589cb85827b48f7c1f.tar.gz
forums-c8669abf9d80dc09bafcca589cb85827b48f7c1f.tar.bz2
forums-c8669abf9d80dc09bafcca589cb85827b48f7c1f.tar.xz
forums-c8669abf9d80dc09bafcca589cb85827b48f7c1f.zip
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
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/adm/admin_styles.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/adm/admin_styles.php b/phpBB/adm/admin_styles.php
index f2b0149366..61cbf07a92 100644
--- a/phpBB/adm/admin_styles.php
+++ b/phpBB/adm/admin_styles.php
@@ -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;