summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-09-19 14:59:00 +0200
committerAleksander Machniak <alec@alec.pl>2013-09-19 14:59:00 +0200
commit055bcc5683d5a2f1ff252a6b3c0cbcda81e3c36b (patch)
tree3a19729063bc049444fe6396684b5205713e6379 /lib
parent9d84c2f3a1aa6d786c664a12fd940f5b25d14bf6 (diff)
downloadwebadmin-055bcc5683d5a2f1ff252a6b3c0cbcda81e3c36b.tar.gz
We're not using MDB2 here - simplified regexp in autoloader
Diffstat (limited to 'lib')
-rw-r--r--lib/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/functions.php b/lib/functions.php
index 98dc949..016f1f3 100644
--- a/lib/functions.php
+++ b/lib/functions.php
@@ -63,7 +63,7 @@ mb_internal_encoding(KADM_CHARSET);
// register autoloader
function class_autoloader($classname)
{
- $classname = preg_replace('/(Net|MDB2|HTTP)_(.+)/', "\\1/\\2", $classname);
+ $classname = preg_replace('/(Net|HTTP)_(.+)/', "\\1/\\2", $classname);
if ($fp = @fopen("$classname.php", 'r', true)) {
include_once "$classname.php";