Skip to content

Commit

Permalink
Подключение от ZF1 заменяем на ZF2
Browse files Browse the repository at this point in the history
Исправление несоответствия подключения от ZF1 и самого ZF2.
  • Loading branch information
Exileum committed Nov 24, 2014
1 parent 0387f38 commit 449b519
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 99 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -10,6 +10,7 @@ internal_data/captcha/**/
internal_data/log/
internal_data/sitemap/*.xml
internal_data/triggers/
library/config.local.php

### Archives ###
*.log
Expand Down
4 changes: 2 additions & 2 deletions common.php
Expand Up @@ -20,8 +20,8 @@
require(BB_ROOT . 'library/config.php');

// Load Zend Framework
require(CLASS_DIR . 'zendLoader.php');
ZendLoader::getInstance()->setupAutoloader(BB_ROOT . '/library');
require_once(BB_ROOT . 'library/Zend/Loader/AutoloaderFactory.php');
Zend\Loader\AutoloaderFactory::factory(array());

$server_protocol = ($bb_cfg['cookie_secure']) ? 'https://' : 'http://';
$server_port = (in_array($bb_cfg['server_port'], array(80, 443))) ? '' : ':' . $bb_cfg['server_port'];
Expand Down
97 changes: 0 additions & 97 deletions library/includes/classes/zendLoader.php

This file was deleted.

0 comments on commit 449b519

Please sign in to comment.