mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Remove Zend
This commit is contained in:
parent
ee659bb190
commit
3e161065f3
2494 changed files with 7 additions and 298818 deletions
10
common.php
10
common.php
|
@ -56,16 +56,6 @@ header('X-Frame-Options: SAMEORIGIN');
|
|||
// Get initial config
|
||||
require(BB_ROOT . 'library/config.php');
|
||||
|
||||
// Load Zend Framework
|
||||
use Zend\Loader\StandardAutoloader;
|
||||
|
||||
require(BB_ROOT . 'library/Zend/Loader/StandardAutoloader.php');
|
||||
$loader = new StandardAutoloader(array('autoregister_zf' => true));
|
||||
$loader->register();
|
||||
|
||||
// ZF use
|
||||
use Zend\Json;
|
||||
|
||||
$server_protocol = ($bb_cfg['cookie_secure']) ? 'https://' : 'http://';
|
||||
$server_port = (in_array($bb_cfg['server_port'], array(80, 443))) ? '' : ':' . $bb_cfg['server_port'];
|
||||
define('FORUM_PATH', $bb_cfg['script_path']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue