public function __construct() { parent::__construct(); $this->theme_assets_path = Config::getThemeAssetsPath(); $this->theme_path = Config::getCurrentthemePath(); $this->theme_root = Config::getTemplatesPath(); $this->site_root = Config::getSiteRoot(); }
public static function get_theme_assets_path() { Log::warn("Use of Statamic::get_theme_assets_path() is deprecated. Use Config::getThemeAssetsPath() instead.", "core", "Statamic"); return Config::getThemeAssetsPath(); }