1
0

Added Yiistrap

This commit is contained in:
2014-05-13 14:06:18 +02:00
parent 5e21ecb401
commit 826c4bdfb3
118 changed files with 31164 additions and 54 deletions

View File

@@ -27,6 +27,7 @@ return array(
'modules'=>array(
'gii'=>array(
'class'=>'system.gii.GiiModule',
'generatorPaths' => array('bootstrap.gii'),
'password'=>'giipw',
'ipFilters'=>array('127.0.0.1','::1'),
),

View File

@@ -11,27 +11,40 @@ use Yiinitializr\Helpers\ArrayX;
return ArrayX::merge(array(
'basePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..',
'name'=>'My Web Application',
'name'=>'Mikescher.de',
// preloading 'log' component
'preload'=>array('log'),
'aliases' => array(
'bootstrap' => realpath(__DIR__ . '/../extensions/bootstrap'), // change this if necessary
),
// autoloading model and component classes
'import'=>array(
'application.models.*',
'application.components.*',
'bootstrap.components.*',
'bootstrap.behaviors.*',
'bootstrap.helpers.*',
),
'modules'=>array(
//
),
// application components
'components'=>array(
'bootstrap' => array(
'class' => 'bootstrap.components.TbApi',
),
'user'=>array(
// enable cookie-based authentication
'allowAutoLogin'=>true,
),
// uncomment the following to enable URLs in path-format
/*
'urlManager'=>array(