Skip to content

Commit

Permalink
Code comment
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Oct 22, 2017
1 parent 78ffe15 commit f3c6442
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htdocs/install/inc.php
Expand Up @@ -169,8 +169,8 @@
}


// Security check
if (preg_match('/install.lock/i',$_SERVER["SCRIPT_FILENAME"]))
// Security check (old method, when directory is renamed /install.lock)
if (preg_match('/install\.lock/i',$_SERVER["SCRIPT_FILENAME"]))
{
print 'Install pages have been disabled for security reason (directory renamed with .lock suffix).';
if (! empty($dolibarr_main_url_root))
Expand Down

0 comments on commit f3c6442

Please sign in to comment.