1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 04:38:27 +01:00

Admin theme refresh added.

This commit is contained in:
Cameron 2017-02-01 10:39:13 -08:00
parent c848e73c57
commit 5eb6c8a381
2 changed files with 6 additions and 3 deletions

View File

@ -602,7 +602,7 @@ function update_core_database($type = '')
}
}*/
}

View File

@ -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'));*/