Standard main-config snippet
21. Juni 2010
'log' => array( 'class' => 'CLogRouter', 'routes' => array( array( 'class' => 'CFileLogRoute', 'levels' => 'error, warning', ), array( 'class' => 'CProfileLogRoute' ) ), ), 'urlManager' => array( 'urlFormat' => 'path', 'showScriptName' => false, 'rules' => array() ), 'user' => array( // enable cookie-based authentication 'allowAutoLogin' => true, ), 'db' => array( 'connectionString' => 'mysql:host=localhost;dbname=dbname', 'username' => 'root', 'password' => 'root', 'charset' => 'utf8', 'enableProfiling' => true )
No related posts.
Letzte Kommentare