mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
First lot of compatability fixes
This commit is contained in:
@@ -2058,7 +2058,7 @@ class PEAR_Config extends PEAR
|
||||
if (OS_WINDOWS && preg_match('/^[a-z]:/i', $path)) {
|
||||
if (preg_match('/^[a-z]:/i', $prepend)) {
|
||||
$prepend = substr($prepend, 2);
|
||||
} elseif ($prepend{0} != '\\') {
|
||||
} elseif ($prepend[0] != '\\') {
|
||||
$prepend = "\\$prepend";
|
||||
}
|
||||
$path = substr($path, 0, 2) . $prepend . substr($path, 2);
|
||||
|
||||
Reference in New Issue
Block a user