%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/pjcbackup/vendor/jeremykenedy/laravel-logger/src/App/Logic/
Upload File :
Create Path :
Current File : /var/www/pjcbackup/vendor/jeremykenedy/laravel-logger/src/App/Logic/helpers.php

<?php

if (!function_exists('showCleanRoutUrl')) {
    /**
     * Clean the url for the front end to display.
     *
     * @param string $link
     *
     * @return echo string
     */
    function showCleanRoutUrl($link)
    {
        $parsedUrl = parse_url($link);
        $routeUrl = '';
        if (isset($parsedUrl['path'])) {
            $routeUrl .= $parsedUrl['path'];
        }
        if (isset($parsedUrl['query'])) {
            $routeUrl .= '?'.$parsedUrl['query'];
        }
        echo $routeUrl;
    }
}

Zerion Mini Shell 1.0