diff options
author | Andrew Dolgov <[email protected]> | 2013-04-17 15:36:34 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-04-17 15:36:48 +0400 |
commit | 404e2e3603c852a3f82a21c14b8888005e2b3f99 (patch) | |
tree | 8814cfecfe167fc32d474d670bc47be32a9a5e25 /include/functions.php | |
parent | ba68b6815ab31d17cda113e7990eeb07558b02a9 (diff) |
more work on singleton-based DB
Diffstat (limited to 'include/functions.php')
-rw-r--r-- | include/functions.php | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/functions.php b/include/functions.php index 0a686e71e..f0d5e85fa 100644 --- a/include/functions.php +++ b/include/functions.php @@ -10,17 +10,6 @@ $fetch_last_content_type = false; $pluginhost = false; - function __autoload($class) { - $class_file = str_replace("_", "/", strtolower(basename($class))); - - $file = dirname(__FILE__)."/../classes/$class_file.php"; - - if (file_exists($file)) { - require $file; - } - - } - mb_internal_encoding("UTF-8"); date_default_timezone_set('UTC'); if (defined('E_DEPRECATED')) { |