// uncomment the following to define a path alias
// Yii::setPathOfAlias('local','path/to/local-folder');
// This is the main Web application configuration. Any writable
// CWebApplication properties can be configured here.
function _joinpath($dir1, $dir2){
return realpath($dir1 . '/' . $dir2);
}
$homePath = dirname(__FILE__) . '\..\..';
$protectedPath = _joinpath($homePath, 'protected');
$webrootPath = _joinpath($homePath, 'www');
$runtimePath = _joinpath($homePath, 'runtime');
return array(
'basePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..',
'runtimePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'..',
'name'=>'Photo Gallery',
// preloading 'log' component
'preload'=>array('log'),
//theme
'theme'=>'photoGal',