/** * Gets the application base path. * * @return string */ public static function getApplicationPath() { if (self::$app_path === null) { self::$app_path = dirname(__DIR__); } return self::$app_path; }