Source for file install.php
Documentation is available at install.php
* @package linea21.externals
* @subpackage Class Installer
* @author Vadim V. Gabriel <vadimg88@gmail.com> http://www.vadimg.co.il/ - modified by Simon Georget <simon@linea21.com>
* @link http://absynthe.is.free.fr/aFiles/
* @license GNU Lesser General Public License
include_once("../config/define.php");
include_once('../lib/input_helpers.php');
include_once('../class/class.culture.php');
define('ROOT_PATH', dirname(__FILE__ ));
define('INSTALLER_PATH', dirname(__FILE__ ) . DIRECTORY_SEPARATOR . 'installer');
define('TMPL_PATH', INSTALLER_PATH . DIRECTORY_SEPARATOR . 'data' . DIRECTORY_SEPARATOR . 'templates' . DIRECTORY_SEPARATOR);
define('BASE_URL', 'http://'. $_SERVER['HTTP_HOST'] . $_SERVER['SCRIPT_NAME']);
$_POST['step'] = isset ($_POST['step']) ? $_POST['step'] : 'index';
require_once(INSTALLER_PATH . '/Installer.php');
|