Browse Source

Make sure to copy the new files to new themes, too

Signed-off-by: John Rayes <[email protected]>
John Rayes 10 years ago
parent
commit
4f0bc1bc60
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Sources/Themes.php

+ 1 - 1
Sources/Themes.php

@@ -1388,7 +1388,7 @@ function InstallCopy()
 	mkdir($context['to_install']['theme_dir'] . '/scripts', 0777);
 
 	// Copy over the default non-theme files.
-	$to_copy = array('/index.php', '/index.template.php', '/css/index.css', '/css/rtl.css', '/css/admin.css', '/scripts/theme.js');
+	$to_copy = array('/index.php', '/index.template.php', '/css/index.css', '/css/rtl.css', '/css/calendar.css', '/css/calendar.rtl.css', '/css/admin.css', '/scripts/theme.js');
 
 	foreach ($to_copy as $file)
 	{