Qiang Xue пре 12 година
родитељ
комит
93c7b6466a
3 измењених фајлова са 3 додато и 0 уклоњено
  1. 1 0
      www/index-test.php
  2. 1 0
      www/index.php
  3. 1 0
      yii

+ 1 - 0
www/index-test.php

@@ -10,6 +10,7 @@ defined('YII_ENV') or define('YII_ENV', 'test');
 
 require_once(__DIR__ . '/../vendor/yiisoft/yii2/yii/Yii.php');
 require_once(__DIR__ . '/../vendor/autoload.php');
+require(__DIR__ . '/../vendor/composer/autoload_namespaces.php');
 
 $config = require(__DIR__ . '/../config/web-test.php');
 

+ 1 - 0
www/index.php

@@ -6,6 +6,7 @@ defined('YII_ENV') or define('YII_ENV', 'dev');
 
 require(__DIR__ . '/../vendor/yiisoft/yii2/yii/Yii.php');
 require(__DIR__ . '/../vendor/autoload.php');
+require(__DIR__ . '/../vendor/composer/autoload_namespaces.php');
 
 $config = require(__DIR__ . '/../config/web.php');
 

+ 1 - 0
yii

@@ -15,6 +15,7 @@ defined('STDIN') or define('STDIN', fopen('php://stdin', 'r'));
 
 require(__DIR__ . '/vendor/yiisoft/yii2/yii/Yii.php');
 require(__DIR__ . '/vendor/autoload.php');
+require(__DIR__ . '/vendor/composer/autoload_namespaces.php');
 
 $config = require(__DIR__ . '/config/console.php');