App\Libraries\Utils::basePath PHP Method

basePath() public static method

public static basePath ( )
    public static function basePath()
    {
        return substr($_SERVER['SCRIPT_NAME'], 0, strrpos($_SERVER['SCRIPT_NAME'], '/') + 1);
    }