Installer use static css, fix #2071

This commit is contained in:
Fabrixxm 2015-11-13 10:56:06 +01:00
parent 98f524db67
commit 0a9e017d34
10 changed files with 82 additions and 6 deletions

View file

@ -11,6 +11,14 @@ function install_init(&$a){
echo "ok";
killme();
}
// We overwrite current theme css, because during install we could not have a working mod_rewrite
// so we could not have a css at all. Here we set a static css file for the install procedure pages
$a->config['system']['theme'] = "../install";
$a->theme['stylesheet'] = $a->get_baseurl()."/view/install/style.css";
global $install_wizard_pass;
if (x($_POST,'pass'))
$install_wizard_pass = intval($_POST['pass']);