code syntax comm directory
This commit is contained in:
parent
f19bbb89f3
commit
faabec4edc
@ -244,7 +244,7 @@ foreach ($paths as $tmppath) { // We check to find (B+start of C)=A
|
|||||||
//if ($tmppath) $concatpath.='/'.$tmppath;
|
//if ($tmppath) $concatpath.='/'.$tmppath;
|
||||||
//print $_SERVER["SCRIPT_NAME"].'-'.$pathroot.'-'.$concatpath.'-'.$real_dolibarr_main_document_root.'-'.realpath($pathroot.$concatpath).'<br>';
|
//print $_SERVER["SCRIPT_NAME"].'-'.$pathroot.'-'.$concatpath.'-'.$real_dolibarr_main_document_root.'-'.realpath($pathroot.$concatpath).'<br>';
|
||||||
if ($real_dolibarr_main_document_root == @realpath($pathroot.$concatpath)) { // @ avoid warning when safe_mode is on.
|
if ($real_dolibarr_main_document_root == @realpath($pathroot.$concatpath)) { // @ avoid warning when safe_mode is on.
|
||||||
//print "Found relative url = ".$concatpath;
|
//print "Found relative url = ".$concatpath;
|
||||||
$tmp3 = $concatpath;
|
$tmp3 = $concatpath;
|
||||||
$found = 1;
|
$found = 1;
|
||||||
break;
|
break;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user