mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-20 00:20:44 +08:00
added ability to create own "yiic create" templates
This commit is contained in:
@@ -1 +1,8 @@
|
||||
<?php
|
||||
|
||||
// change the following paths if necessary
|
||||
$yii=__DIR__.'/../framework/yii.php';
|
||||
$config=__DIR__.'/protected/config/main.php';
|
||||
|
||||
require_once($yii);
|
||||
Yii::createWebApplication($config)->run();
|
||||
|
||||
Reference in New Issue
Block a user