1
0
www.mikescher.com/demos/phonebook/protected/config/main.php

21 lines
495 B
PHP

<?php
// This is the main Web application configuration. Any writable
// application properties can be configured here.
return array(
'basePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..',
'name'=>'Yii Framework: Phone Book Demo',
// autoloading model and component classes
'import'=>array(
'application.models.*',
'application.components.*',
),
// application components
'components'=>array(
'db'=>array(
'connectionString'=>'sqlite:protected/data/phonebook.db',
),
),
);