Skip to content
Snippets Groups Projects
Commit dd332484 authored by llaffont's avatar llaffont
Browse files

MAJ numéro version

parent 8fd22e06
Branches
Tags
No related merge requests found
......@@ -29,9 +29,9 @@ set_include_path('.' . PATH_SEPARATOR . './library'
// Includes de base
include_once "local.php";
$site= substr($_SERVER['SCRIPT_NAME'], 1, strpos($_SERVER['SCRIPT_NAME'], "index.php") -2);
if(!file_exists("../" . end(split('/', $site)))) {
$parts=explode('/', $site);
if(!file_exists("../" . end($parts))) {
echo "Erreur de vhost !" ;
exit ;
}
......
......@@ -45,7 +45,7 @@ function defineConstant($name, $value) {
function setupConstants($cfg) {
defineConstant('VERSION_PERGAME','V-05.18 [r'.array_at(1, explode(' ', '$Revision$ ')).']');
defineConstant('VERSION_PERGAME','V-05.19 [r'.array_at(1, explode(' ', '$Revision$ ')).']');
defineConstant('ROOT_PATH', './');
defineConstant('MODULEDIRECTORY','./application/modules');
......
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