There is no update available!'; exit; if(!defined('MYOOS_INCLUDE_PATH')) { define('MYOOS_INCLUDE_PATH', OOS_ABSOLUTE_PATH); } $autoloader = require_once MYOOS_INCLUDE_PATH . '/vendor/autoload.php'; require_once '../includes/functions/function_kernel.php'; // require the database functions require_once '../includes/lib/adodb/adodb-errorhandler.inc.php'; require_once '../includes/lib/adodb/adodb.inc.php'; require_once '../includes/classes/class_template.php'; require 'modify_configure.php'; require 'upgrade.php'; require 'gui.php'; require 'db.php'; require 'language.php'; $dbtype = OOS_DB_TYPE; $dbhost = OOS_DB_SERVER; $dbname = OOS_DB_DATABASE; $prefix_table = OOS_DB_PREFIX; // Decode encoded DB parameters if (OOS_ENCODED == '1') { $dbuname = base64_decode(OOS_DB_USERNAME); $dbpass = base64_decode(OOS_DB_PASSWORD); } else { $dbuname = OOS_DB_USERNAME; $dbpass = OOS_DB_PASSWORD; } installer_get_language(); require '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 "OOS 1.6.0": oosDBInit($dbhost, $dbuname, $dbpass, $dbname, $dbtype); oosDoUpgrade160($dbhost, $dbuname, $dbpass, $dbname, $prefix_table, $dbtype); print_Next(); break; default: $smarty = new myOOS_Smarty(); $smarty->force_compile = TRUE; $smarty->clearAllCache(); $smarty->clearCompiledTemplate(); print_SelectOOS(); break; } require 'footer.php';