/** * appDir set && get * IMPORTANT: you must set absolute path if you use extension mode(extension=SlightPHP.so) * * @param string $dir * @return boolean */ public static function setAppDir($dir) { self::$appDir = $dir; return true; }