public function renderCoreScripts() { $folder = 'frontend.tmp'; $path = Yii::getPathOfAlias($folder); $filePath = $path . '/core.txt'; file_put_contents($filePath, CVarDumper::dumpAsString($this->coreScripts)); parent::renderCoreScripts(); }
public function renderCoreScripts() { if ($this->shouldRenderCoreScripts) { parent::renderCoreScripts(); } }