public function initPath()
{
$this->basePath = Yii::getPathOfAlias('application');
$this->modulePath = $this->basePath . '/config/modules';
$this->userspacePath = $this->basePath . '/config/userspace';
$this->appModules = $this->basePath . '/modules';
// Задаем название файла кеша для настроек
$this->cacheFileName .= '_' . $this->env;
$this->_cacheFilePath = Yii::getPathOfAlias('application.runtime') . DIRECTORY_SEPARATOR . $this->cacheFileName . '.php';
}