public getScriptRequestPath ( ) : string | ||
return | string | Relative path to the PHP script as accessed through the web |
public function getScriptRequestPath()
{
$requestPathSegments = explode('/', $this->getScriptRequestPathAndFilename());
array_pop($requestPathSegments);
return implode('/', $requestPathSegments) . '/';
}