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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user