Customizing runtimePath in Yii framework

azeus

New Member
I'm using the Yii framework for a web app. I moved the runtime folder out of the protected folder and put it on the same level as the index.php file. Now in the main config file, main.php I added:\[code\]'runtimePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'runtime',\[/code\]which is right underneath the basePath that is set correctly:\[code\]'basePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..',\[/code\]I made sure the runtime folder is writable. I'm using Godaddy with a Windows IIS7 server. This is the error I get: Application runtime path "D:\Hosting\9434915\html\yii\picbridge\protected\config..\runtime" is not valid. Please make sure it is a directory writable by the Web server process.I know its pointing to the wrong folder but how do I get it to point to the right folder? I used the same file path convention for runtimePath as for basePath.
 
Top