Fehler';
echo 'Auf Ihrem Server läuft PHP version ' . PHP_VERSION . ', MyOOS benötigt mindestens PHP 7.2.0';
echo '
Error
';
echo 'Your server is running PHP version ' . PHP_VERSION . ' but MyOOS requires at least PHP 7.2.0';
return;
}
define('OOS_VALID_MOD', true);
// Version information
define('OOS_VERSION', '2.3.1 -dev');
require_once '../includes/functions/function_global.php';
require_once '../includes/functions/function_kernel.php';
require_once '../includes/lib/phpass/PasswordHash.php';
require_once '../includes/functions/function_password.php';
require_once '../includes/lib/adodb/adodb.inc.php';
include_once 'modify_configure.php';
include_once 'upgrade.php';
include_once 'newinstall.php';
include_once 'gui.php';
include_once 'db.php';
include_once 'check.php';
include_once 'language.php';
if (isset($_POST)) {
foreach ($_POST as $k=>$v) {
$$k = oos_prepare_input($v);
}
}
if (isset($alanguage)) {
$currentlang = $alanguage;
}
if (isset($aupdate)) {
$update = $aupdate;
}
if (!empty($encoded)) {
$dbuname = base64_decode($dbuname);
$dbpass = base64_decode($dbpass);
}
installer_get_language();
include_once 'header.php';
/* This starts the switch statement that filters through the form options.
* the @ is in front of $op to suppress error messages if $op is unset and E_ALL
* is on
*/
switch (@$op) {
case "Finish":
print_oosFinish();
break;
case 'Set Login':
oosDBInit($dbhost, $dbuname, $dbpass, $dbname, $dbtype);
oosInputData($gender, $firstname, $name, $pwd, $repeatpwd, $email, $phone, $prefix_table, $update);
oosUpdateConfigShop(true); // Scott - added
print_SetLogin();
break;
case 'Change Login':
print_ChangeLogin();
break;
case 'Login':
if ( ($pwd == '') || ($email == '') || ($pwd != $repeatpwd) ) {
print_ChangeLogin();
} else {
print_Login();
}
break;
case 'Start':
make_db($dbhost, $dbuname, $dbpass, $dbname, $prefix_table, $dbtype, $dbmake);
print_Start();
break;
case 'Admin':
print_Admin();
break;
case 'Submit':
print_Submit();
break;
case 'CHM_check':
print_CHMcheck();
break;
case 'ChangeServer':
print_ChangeServer();
break;
case 'ConfigServer':
print_ConfigServerInfo();
break;
case 'Confirm':
print_Confirm();
break;
case 'Change_Info':
print_ChangeInfo();
break;
case 'New_Install':
print_NewInstall();
break;
case 'DBSubmit':
print_DBSubmit();
break;
case 'PHP_Check':
if ($_POST['agreecheck'] == false) {
print_select_language();
} else {
writeable_oosConfigure();
oosCheckPHP();
}
break;
case 'UpgardeOrInstall':
print_oosUpgardeOrInstall();
break;
case 'Set Language':
print_oosDefault();
break;
default:
print_select_language();
break;
}
include_once 'footer.php';