src/Koldy/Application.php
public static function getApplicationPath(string $append = null): string
    {
        if ($append === null) {
            return static::$applicationPath;
        } else {
            return str_replace(DS . DS, DS, static::$applicationPath . $append);
        }
    }
public static function getApplicationPath(string $append = null): string
    {
        if ($append === null) {
            return static::$applicationPath;
        } else {
            return str_replace(DS . DS, DS, static::$applicationPath . $append);
        }
    }
public static function getApplicationPath ( string $ append = null ) : string { if ( $ append === null ) { return static :: $ applicationPath ; } else { return str_replace ( DS . DS , DS , static :: $ applicationPath . $ append ) ; } }
Get the path to application folder with ending slash

@param string $append [optional] append anything you want to application path

@return string
@example /var/www/your.site/com/application/
Get the path to application folder with ending slash