renamed installer.php to setup.php
This commit is contained in:
parent
e8e0608991
commit
6b83e5ccfe
|
@ -33,7 +33,7 @@ $errors=OC_UTIL::checkServer();
|
|||
if(count($errors)>0){
|
||||
OC_TEMPLATE::printGuestPage( "", "error", array( "errors" => $errors ));
|
||||
}elseif(isset($_POST['install']) and $_POST['install']=='true'){
|
||||
require_once 'installer.php';
|
||||
require_once 'setup.php';
|
||||
}elseif (!OC_CONFIG::getValue('installed',false)) {
|
||||
$hasSQLite=is_callable('sqlite_open');
|
||||
$hasMySQL=is_callable('mysql_connect');
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
if(isset($_POST['install']) and $_POST['install']=='true'){
|
||||
$errors=OC_INSTALLER::install($_POST);
|
||||
$errors=OC_SETUP::install($_POST);
|
||||
if(count($errors)>0){
|
||||
OC_TEMPLATE::printGuestPage( "", "error", array( "errors" => $errors ));
|
||||
}else{
|
||||
|
@ -10,7 +10,7 @@ if(isset($_POST['install']) and $_POST['install']=='true'){
|
|||
}
|
||||
}
|
||||
|
||||
class OC_INSTALLER{
|
||||
class OC_SETUP{
|
||||
public static function install($options){
|
||||
$error=array();
|
||||
$dbtype=$options['dbtype'];
|
Loading…
Reference in New Issue