2 small improvements on Module and AccueilModules
This commit is contained in:
1 parent
3574fc102c
commit
d610c66d75
2 files changed
+2
-2
No files matched your search
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
function __autoload($class)
|
||||
{
|
||||
$BASE_DIR = '/homez.9/shikiryu/www/test/trunk3/';
|
||||
$BASE_DIR = $_SERVER['DOCUMENT_ROOT'].'/test/trunk3/'; // à modifier selon la configuration souhaitée
|
||||
set_include_path($BASE_DIR);
|
||||
$path = 'modules/'.$class;
|
||||
if(file_exists($path . DIRECTORY_SEPARATOR . ucfirst($class) . '.php') || file_exists($BASE_DIR . $path . DIRECTORY_SEPARATOR . ucfirst($class) . '.php')){
|
||||
|
||||
Reference in new issue
Block a user