mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 12:48:24 +01:00
Admin theme refresh added.
This commit is contained in:
parent
c848e73c57
commit
5eb6c8a381
@ -602,7 +602,7 @@ function update_core_database($type = '')
|
|||||||
}
|
}
|
||||||
}*/
|
}*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2634,9 +2634,12 @@ class themeHandler
|
|||||||
$config->setPosted('admincss', $_POST['admincss']);
|
$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);
|
->setPosted('adminpref', varset($_POST['adminpref'], 0))->save(true,true,false);
|
||||||
|
|
||||||
|
|
||||||
|
e107::redirect(e_REQUEST_URI);
|
||||||
|
|
||||||
/*return (e107::getConfig()->dataHasChangedFor('admincss')
|
/*return (e107::getConfig()->dataHasChangedFor('admincss')
|
||||||
|| e107::getConfig()->dataHasChangedFor('adminstyle')
|
|| e107::getConfig()->dataHasChangedFor('adminstyle')
|
||||||
|| e107::getConfig()->dataHasChangedFor('adminpref'));*/
|
|| e107::getConfig()->dataHasChangedFor('adminpref'));*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user