/** * Setter for template root directory * * @param string $sPath - template root directory */ public static function setDefaultTemplateDir($sPath) { if ($sPath[strlen($sPath) - 1] != '/') { $sPath .= '/'; } self::$sDefaultTemplateDir = $sPath; }
/** * Setter for template root directory * * @param string $sPath - template root directory */ public static function setDefaultTemplateDir($sPath) { self::$sDefaultTemplateDir = $sPath; }