Commit 0eb576a3 authored by stimpy's avatar stimpy
Browse files

made new version definition first (so old ones from old config.inc.php files...

made new version definition first (so old ones from old config.inc.php files will be invalid (yet, still produce a warning..)
parent 021563a0
......@@ -18,22 +18,23 @@
* * description: All the initialisation is done here.
*
*/
require_once 'config.inc.php';
if ( $cfg['debug'] ) {
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
}
session_start();
$bv = '0.1.1';
if ( $bv == "%VERSION%" ) {
define( 'VERSION', 'v0.1.1-dev' );
} else {
define( 'VERSION', $bv );
}
unset( $bv );
require_once 'config.inc.php';
if ( $cfg['debug'] ) {
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
}
session_start();
$echos = parse_ini_file( 'areas.ini', true );
include( 'assets/classes/jam.class.php' );
......
......@@ -18,22 +18,23 @@
* * description: All the initialisation is done here.
*
*/
require_once 'config.inc.php';
if ( $cfg['debug'] ) {
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
}
session_start();
$bv = '%VERSION%';
if ( $bv == "%VERSION%" ) {
define( 'VERSION', 'v0.1.1-dev' );
} else {
define( 'VERSION', $bv );
}
unset( $bv );
require_once 'config.inc.php';
if ( $cfg['debug'] ) {
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
}
session_start();
$echos = parse_ini_file( 'areas.ini', true );
include( 'assets/classes/jam.class.php' );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment