mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
Admin theme refresh added.
This commit is contained in:
@@ -602,7 +602,7 @@ function update_core_database($type = '')
|
||||
}
|
||||
}*/
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
@@ -2634,9 +2634,12 @@ class themeHandler
|
||||
$config->setPosted('admincss', $_POST['admincss']);
|
||||
}
|
||||
|
||||
return $config->setPosted('adminstyle', $_POST['adminstyle'])
|
||||
$config->setPosted('adminstyle', $_POST['adminstyle'])
|
||||
->setPosted('adminpref', varset($_POST['adminpref'], 0))->save(true,true,false);
|
||||
|
||||
|
||||
|
||||
e107::redirect(e_REQUEST_URI);
|
||||
|
||||
/*return (e107::getConfig()->dataHasChangedFor('admincss')
|
||||
|| e107::getConfig()->dataHasChangedFor('adminstyle')
|
||||
|| e107::getConfig()->dataHasChangedFor('adminpref'));*/
|
||||
|
Reference in New Issue
Block a user