mirror of https://github.com/Mowie/Mowie
Fixed Removing of install-dev files
This commit is contained in:
parent
d7f27d6e38
commit
0d63ceb822
|
@ -4,9 +4,9 @@ require_once '../inc/autoload_adm.php';
|
|||
printHeader($lang->get('dashboard_title'));
|
||||
|
||||
//Delete installation files
|
||||
if (file_exists('install-dev.php'))
|
||||
if (file_exists('install.php'))
|
||||
{
|
||||
if (unlink('install-dev.php'))
|
||||
if (unlink('install.php'))
|
||||
{
|
||||
echo msg('info', $lang->get('delete_config_success'));
|
||||
}
|
||||
|
|
|
@ -288,11 +288,11 @@ RewriteRule ^(.*)$ /index.php?$1 [QSA,L]
|
|||
<h2>Website</h2>
|
||||
<span>Page Title</span><input type="text" placeholder="Page Title" name="general_page_title"/><br/>
|
||||
<span>Website Url</span><input type="text" placeholder="Website Url" name="general_webUrl"
|
||||
value="http://<?php echo $_SERVER['SERVER_NAME'] . str_replace('admin/install-dev.php', '', $_SERVER['REQUEST_URI']); ?>"/><br/>
|
||||
value="http://<?php echo $_SERVER['SERVER_NAME'] . str_replace('admin/install.php', '', $_SERVER['REQUEST_URI']); ?>"/><br/>
|
||||
<span> </span><a onclick="fadeInput('more');" style="display: block;">More Options</a><br/>
|
||||
<div id="more" style="display: none;">
|
||||
<span>Home Url</span><input type="text" placeholder="Home Url" name="general_home_url"
|
||||
value="<?php echo str_replace('admin/install-dev.php', '', $_SERVER['REQUEST_URI']); ?>"/><br/>
|
||||
value="<?php echo str_replace('admin/install.php', '', $_SERVER['REQUEST_URI']); ?>"/><br/>
|
||||
<span>Phpmyadmin Url (optional)</span><input type="text" placeholder="Phpmyadmin Url" name="general_pma"/><br/>
|
||||
<span>Editor CSS (optional)</span><input type="text" placeholder="Editor CSS" name="general_editor_css"/><br/>
|
||||
<span>Template</span><input type="text" placeholder="Template" name="general_template"
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
confirmationRequierd = true
|
||||
confirmationUser = 1
|
||||
confirmationRequierd = false
|
||||
confirmationUser = 0
|
|
@ -21,7 +21,7 @@ $_CONF['menu'] = ['<i class="fa fa-th-list"></i> '.$GLOBALS['lang']->get('sp_ma
|
|||
'<i class="fa fa-file"></i> '.$GLOBALS['lang']->get('sp_create_new') => 'backend/edit.php?new']; //Ein Array mit menüpunkten im adminbereich
|
||||
$_CONF['dashboard'] = 'backend/dashboard.php';
|
||||
$_CONF['type'] = 'page';
|
||||
$_CONF['install'] = 'install-dev.php';
|
||||
$_CONF['install'] = 'install.php';
|
||||
|
||||
$confirmationRequierd = false;
|
||||
$iniFile = 'confirm.ini';
|
||||
|
|
|
@ -13,5 +13,5 @@ $_CONF['menu_top'] = '<i class="fa fa-server"></i> '.$GLOBALS['lang']->get('log
|
|||
$_CONF['menu'] = ['menu_top' => 'index.php']; //Ein Array mit menüpunkten im Backoffice
|
||||
//$_CONF['dashboard'] = 'dashboard.php'; //Optional, eine Datei, welche im admindashboard angezeigt wird
|
||||
$_CONF['type'] = 'static';
|
||||
$_CONF['install'] = 'install-dev.php';
|
||||
$_CONF['install'] = 'install.php';
|
||||
?>
|
|
@ -7,5 +7,5 @@ $_CONF['menu_top'] = '';
|
|||
$_CONF['base_file'] = 'meta.php';
|
||||
$_CONF['type'] = 'static';
|
||||
$_CONF['general_conf'] = 'genConf.php';
|
||||
$_CONF['install'] = 'install-dev.php';
|
||||
$_CONF['install'] = 'install.php';
|
||||
?>
|
|
@ -6,4 +6,4 @@ $_CONF['app_version'] = 'v0.9 Beta';
|
|||
$_CONF['base_file'] = 'sidebar.php';
|
||||
$_CONF['type'] = 'static';
|
||||
$_CONF['general_conf'] = 'genConf.php';
|
||||
$_CONF['install'] = 'install-dev.php';
|
||||
$_CONF['install'] = 'install.php';
|
Loading…
Reference in New Issue