Quellcode durchsuchen

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

Signed-off-by: John Rayes <[email protected]>
John Rayes vor 10 Jahren
Ursprung
Commit
4f0bc1bc60
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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)
 	{