/**
* @inheritdoc
*/
public function bootstrap($app)
{
//echo preg_replace('/ \((?!(The|UCSD)\)).*?\)/', '', 'The makanan UCSD');exit;
if ($app instanceof \yii\web\Application) {
$activeTheme = $this->defaultTheme;
if ($this->useDbConfig) {
} else {
$cookie = new CookieCollection();
if ($themeNameFromCookie = $cookie->get($this->themeCookieName)) {
$activeTheme = $themeNameFromCookie;
}
}
if (!$activeTheme) {
$activeTheme = $this->getTheme($app);
}
}
}