if (!$installed && !$installer) {
header('location: ./installer.php');
die();
-} else if ($installed) {
- include_once GALETTE_CONFIG_PATH . 'config.inc.php';
}
if (
include_once GALETTE_CONFIG_PATH . 'behavior.inc.php';
}
+if (isset($installer) && $installer !== true) {
+ //If we're not working from installer
+ include_once GALETTE_CONFIG_PATH . 'config.inc.php';
+}
+
use Analog\Analog;
use Analog\Handler;
use Analog\Handler\LevelName;
}
define('GALETTE_NIGHTLY', false);
-define('GALETTE_VERSION', 'v0.9.6');
+define('GALETTE_VERSION', 'v0.9.6.1');
//Version to display
if (!defined('GALETTE_HIDE_VERSION')) {
require_once GALETTE_ROOT . 'includes/functions.inc.php';
-//If we're not working from tests
-if ($installed && !defined('GALETTE_TESTS')) {
+if (!$installer and !defined('GALETTE_TESTS')) {
+ //If we're not working from installer nor from tests
+ include_once GALETTE_CONFIG_PATH . 'config.inc.php';
/**
* Database instantiation