mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-21 00:46:27 +02:00
update descartes
This commit is contained in:
parent
508aeb0957
commit
e15fb3cf8c
15 changed files with 112 additions and 60 deletions
|
@ -14,18 +14,11 @@
|
|||
{
|
||||
$class = str_replace('\\', '/', $class); #Gestion des namespaces
|
||||
|
||||
if (file_exists(PWD . '/descartes/' . $class . '.php'))
|
||||
{
|
||||
require_once(PWD . '/descartes/' . $class . '.php');
|
||||
}
|
||||
elseif (file_exists(PWD . '/descartes/exceptions/' . $class . '.php'))
|
||||
{
|
||||
require_once(PWD . '/descartes/exceptions/' . $class . '.php');
|
||||
}
|
||||
elseif (file_exists(PWD . '/' . $class . '.php'))
|
||||
if (file_exists(PWD . '/' . $class . '.php'))
|
||||
{
|
||||
require_once(PWD . '/' . $class . '.php');
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
spl_autoload_register('autoloader');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue