diff --git a/htdocs/index.php b/htdocs/index.php index f4a0344..d0a795e 100644 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -4,13 +4,7 @@ session_name('EVOADMIN_SESS'); session_start(); spl_autoload_register(function ($class) { - if (file_exists("lib/$class.php")) { - require_once("lib/$class.php"); - } - $class = strtolower($class); - if (file_exists("lib/class.$class.php")) { - require_once("lib/class.$class.php"); - } + if (file_exists("lib/$class.php")) { require_once("lib/$class.php"); } }); DefaultController::init(); diff --git a/htdocs/lib/class.ldapaccount.php b/htdocs/lib/LdapAccount.php similarity index 100% rename from htdocs/lib/class.ldapaccount.php rename to htdocs/lib/LdapAccount.php diff --git a/htdocs/lib/class.ldapalias.php b/htdocs/lib/LdapAlias.php similarity index 100% rename from htdocs/lib/class.ldapalias.php rename to htdocs/lib/LdapAlias.php diff --git a/htdocs/lib/class.ldapdomain.php b/htdocs/lib/LdapDomain.php similarity index 100% rename from htdocs/lib/class.ldapdomain.php rename to htdocs/lib/LdapDomain.php diff --git a/htdocs/lib/class.ldapserver.php b/htdocs/lib/LdapServer.php similarity index 100% rename from htdocs/lib/class.ldapserver.php rename to htdocs/lib/LdapServer.php diff --git a/htdocs/lib/class.logger.php b/htdocs/lib/Logger.php similarity index 100% rename from htdocs/lib/class.logger.php rename to htdocs/lib/Logger.php diff --git a/htdocs/lib/class.mailnotify.php b/htdocs/lib/MailNotify.php similarity index 100% rename from htdocs/lib/class.mailnotify.php rename to htdocs/lib/MailNotify.php