mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
PSR-4 compatible legacy code autoloading.
This commit is contained in:
parent
e463fee20f
commit
80a035d191
50 changed files with 5296 additions and 4522 deletions
|
@ -460,16 +460,16 @@ define('SQL_LAYER', 'mysql');
|
|||
|
||||
$bb_cfg = array_merge(bb_get_config(BB_CONFIG), $bb_cfg);
|
||||
|
||||
$user = new user_common();
|
||||
$user = new TorrentPier\Legacy\Common\User();
|
||||
$userdata =& $user->data;
|
||||
|
||||
if (DBG_USER) {
|
||||
require INC_DIR . '/functions_dev.php';
|
||||
}
|
||||
|
||||
$html = new html_common();
|
||||
$log_action = new log_action();
|
||||
$ads = new ads_common();
|
||||
$ads = new TorrentPier\Legacy\Common\Ads();
|
||||
$html = new TorrentPier\Legacy\Common\Html();
|
||||
$log_action = new TorrentPier\Legacy\LogAction();
|
||||
|
||||
// TODO temporarily 'cat_forums' always enqueued
|
||||
$datastore->enqueue(array('cat_forums'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue