Remove Zend

This commit is contained in:
Vasily Komrakov 2017-01-26 22:26:32 +03:00
commit 3e161065f3
No known key found for this signature in database
GPG key ID: 558236680C20A69A
2494 changed files with 7 additions and 298818 deletions

View file

@ -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']);