1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-06-05 22:09:38 +02:00

Miglioramento di compatibilità con PHP 5.4

Miglioramento di compatibilità con PHP 5.4, ottenuto attraverso test su Altervista.
This commit is contained in:
Thomas Zilio
2017-12-31 16:00:23 +01:00
parent f165a8035b
commit 593464603d
5 changed files with 16 additions and 9 deletions

View File

@@ -892,6 +892,8 @@ function getURLPath()
if (substr($path, 0, strlen($prefix)) == $prefix) {
$path = substr($path, strlen($prefix));
} else {
$path = str_replace(DOCROOT, ROOTDIR, $path);
}
return slashes($path);