From d1a35838cfe9b485fab26dc8b378f2896917d043 Mon Sep 17 00:00:00 2001 From: Vincent Augagneur Date: Thu, 19 Sep 2013 16:09:53 +0200 Subject: [PATCH] //small fix --- controllers/admin/AdminEmployeesController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/admin/AdminEmployeesController.php b/controllers/admin/AdminEmployeesController.php index c96911ed0..d230efa01 100644 --- a/controllers/admin/AdminEmployeesController.php +++ b/controllers/admin/AdminEmployeesController.php @@ -110,7 +110,7 @@ class AdminEmployeesControllerCore extends AdminController $path = _PS_ADMIN_DIR_.'/themes/'; 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; $home_tab = Tab::getInstanceFromClassName('adminHome');