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:
@@ -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')) {
|
||||
|
||||
Reference in New Issue
Block a user