Code comment
This commit is contained in:
parent
78ffe15a04
commit
f3c6442a93
@ -169,8 +169,8 @@ if (! empty($dolibarr_main_document_root_alt))
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Security check
|
// Security check (old method, when directory is renamed /install.lock)
|
||||||
if (preg_match('/install.lock/i',$_SERVER["SCRIPT_FILENAME"]))
|
if (preg_match('/install\.lock/i',$_SERVER["SCRIPT_FILENAME"]))
|
||||||
{
|
{
|
||||||
print 'Install pages have been disabled for security reason (directory renamed with .lock suffix).';
|
print 'Install pages have been disabled for security reason (directory renamed with .lock suffix).';
|
||||||
if (! empty($dolibarr_main_url_root))
|
if (! empty($dolibarr_main_url_root))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user