thrownew\yii\base\Exception(\Yii::t('yii','Application runtime path "{path}" is not valid. Please make sure it is a directory writable by the Web server process.',
thrownew\yii\base\Exception("Application runtime path \"$path\" is invalid. Please make sure it is a directory writable by the Web server process.");
array('{path}'=>$path)));
}
}
$this->_runtimePath=$runtimePath;
$this->_runtimePath=$path;
}
}
/**
/**
* Returns the root directory that holds all third-party extensions.
* Returns the language that the end user is using.
* @return string the directory that contains all extensions. Defaults to the 'extensions' directory under 'protected'.
* @return string the language that the user is using (e.g. 'en_US', 'zh_CN').
*/
* Defaults to the value of [[sourceLanguage]].
publicfunctiongetExtensionPath()
{
return\Yii::getPathOfAlias('ext');
}
/**
* Sets the root directory that holds all third-party extensions.
* @param string $path the directory that contains all third-party extensions.