Fix problem when installing on windows
This commit is contained in:
parent
7f94c79423
commit
4e1250a861
1 changed files with 6 additions and 1 deletions
|
|
@ -54,7 +54,12 @@ h2.error {
|
|||
// Copyright Author Dany De Bontridder ddebontridder@yahoo.fr
|
||||
|
||||
$inc_path=get_include_path();
|
||||
$inc_path.=':../../include';
|
||||
if ( strpos($inc_path,";") != 0 ) {
|
||||
$inc_path.=':..\..\include';
|
||||
} else {
|
||||
$inc_path.=':../../include';
|
||||
}
|
||||
|
||||
set_include_path($inc_path);
|
||||
|
||||
include_once('constant.php');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue