$environment->scriptPath() Returns the path to the php script within the document root without the filename of the script. kirby/src/Http/Environment.php#L960 $environment->scriptPath(): string Return type string Parent class Kirby\Http\Environment