1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-15 15:45:56 +00:00

more work on singleton-based DB

This commit is contained in:
Andrew Dolgov
2013-04-17 15:36:34 +04:00
parent ba68b6815a
commit 404e2e3603
18 changed files with 143 additions and 188 deletions

View File

@@ -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')) {