//small fix

This commit is contained in:
Vincent Augagneur committed 2013-09-19 16:09:53 +02:00
1 parent 3b465111b9
commit d1a35838cf
1 file changed
+1 -1
@@ -110,7 +110,7 @@ class AdminEmployeesControllerCore extends AdminController
$path = _PS_ADMIN_DIR_.'/themes/'; $path = _PS_ADMIN_DIR_.'/themes/';
foreach (scandir($path) as $theme) foreach (scandir($path) as $theme)
if ($theme[0] != '.' && is_dir($path.$theme) && file_exists($path.$theme.'/css/admin.css')) if ($theme[0] != '.' && is_dir($path.$theme) && (file_exists($path.$theme.'/css/admin.css') || file_exists($path.$theme.'/css/admin-theme.css')))
$this->themes[] = $theme; $this->themes[] = $theme;
$home_tab = Tab::getInstanceFromClassName('adminHome'); $home_tab = Tab::getInstanceFromClassName('adminHome');