mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Потерянный use
This commit is contained in:
parent
067528b2d7
commit
328c6b2df6
1 changed files with 3 additions and 0 deletions
|
@ -25,6 +25,9 @@ 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