forked from xag197911/newaukro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
yiic.php
executable file
·28 lines (25 loc) · 891 Bytes
/
yiic.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
/**
*
* Yiic.php bootstrap file
*
* @author Antonio Ramirez <[email protected]>
* @link http://www.ramirezcobos.com/
* @link http://www.2amigos.us/
* @copyright 2013 2amigOS! Consultation Group LLC
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
*/
defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 0);
date_default_timezone_set('Europe/Moscow');
ini_set('default_charset', 'utf-8');
error_reporting(E_ALL);
// I don't know if you need to wrap the 1 inside of double quotes.
ini_set("display_startup_errors",1);
ini_set("display_errors",1);
ini_set("memory_limit", "1024M");
require(__DIR__.'/common/lib/vendor/autoload.php');
Yiinitializr\Helpers\Initializer::create(__DIR__.'/console', 'console', array(
__DIR__.'/common/config/main.php',
__DIR__.'/common/config/env.php',
__DIR__.'/common/config/local.php',
))->run();