Fix syntax error
This commit is contained in:
parent
68d4a9fc63
commit
b45f5039ed
@ -163,9 +163,9 @@ if (! defined('NOSCANPOSTFORINJECTION'))
|
||||
}
|
||||
|
||||
// This is to make Dolibarr working with Plesk
|
||||
if (! empty($_SERVER['DOCUMENT_ROOT']) && substr($_SERVER['DOCUMENT_ROOT'], -6) !== 'htdocs') {
|
||||
set_include_path($_SERVER['DOCUMENT_ROOT'] . '/htdocs');
|
||||
}
|
||||
if (! empty($_SERVER['DOCUMENT_ROOT']) && substr($_SERVER['DOCUMENT_ROOT'], -6) !== 'htdocs')
|
||||
{
|
||||
set_include_path($_SERVER['DOCUMENT_ROOT'] . '/htdocs');
|
||||
}
|
||||
|
||||
// Include the conf.php and functions.lib.php
|
||||
|
||||
Loading…
Reference in New Issue
Block a user