脚本宝典收集整理的这篇文章主要介绍了yii – phpfog应用程序运行时路径无效,脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。
Application runtime path /VAR/fog/apps/apP35423/austintxous.PHPfogapp.COM/demos/emp/PRotected/runtime" is not valid. Please make sure it is a directory writable by the Web server process. 259 return $this->_runtimePath; 260 } 261 } 262 263 /** 264 * Sets the directory that Stores runtime files. 265 * @param string $path the directory that stores runtime files. 266 * @throws CException if the directory does not exist or is not writable 267 */ 268 public function setRuntimePath($path) 269 { 270 if(($runtimePath=realpath($path))===false || !is_dir($runtimePath) || !is_writable($runtimePath)) 271 throw new CException(Yii::t('yii','Application runtime path "{path}" is not valid. Please make sure it is a directory writable by the Web server process.',272 array('{path}'=>$path))); 273 $this->_runtimePath=$runtimePath; 274 } 275 276 /** 277 * Returns the root directory that holds all third-party extensions. 278 * @return string the directory that contains all extensions. defaults to the 'extensions' directory under 'protected'. 279 */ 280 public function getExtensionPath() 281 { 282 return Yii::getPathOfAlias('ext'); 283 }
以上是脚本宝典为你收集整理的yii – phpfog应用程序运行时路径无效全部内容,希望文章能够帮你解决yii – phpfog应用程序运行时路径无效所遇到的问题。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。