CMXX - Custom folder
This commit is contained in:
@@ -251,7 +251,7 @@ function template_header($title, $selected = 'assets', $selected_child = 'view')
|
||||
$admin_links = menu($selected,$selected_child);
|
||||
|
||||
$domain = getDomainName($_SERVER['SERVER_NAME']);
|
||||
$custom_css = (file_exists(dirname(__FILE__,2).'/style/'.$domain.'/'.$domain.'.css') ? './style/'.$domain.'/'.$domain.'.css' : './style/admin.css');
|
||||
$custom_css = (file_exists(dirname(__FILE__,2).'/custom/'.$domain.'/style/'.$domain.'.css') ? './custom/'.$domain.'/style/'.$domain.'.css' : './style/admin.css');
|
||||
|
||||
$user = ucfirst($_SESSION['username']);
|
||||
if (filter_var($user, FILTER_VALIDATE_EMAIL)){
|
||||
|
||||
Reference in New Issue
Block a user