55 |
|
|
56 |
$inc_path=get_include_path(); |
$inc_path=get_include_path(); |
57 |
if ( strpos($inc_path,";") != 0 ) { |
if ( strpos($inc_path,";") != 0 ) { |
58 |
$inc_path.=';..\..\include'; |
$inc_path.=';..\..\include;addon'; |
59 |
} else { |
} else { |
60 |
$inc_path.=':../../include'; |
$inc_path.=':../../include:addon'; |
61 |
} |
} |
62 |
|
|
63 |
set_include_path($inc_path); |
set_include_path($inc_path); |
155 |
$flag_php++; |
$flag_php++; |
156 |
} |
} |
157 |
else |
else |
158 |
|
if ( ereg("addon",ini_get('include_path')) == 0) { |
159 |
|
print ("<h2 class=\"error\">include_path incorrect !!!".ini_get('include_path')."</h2>"); |
160 |
|
$flag_php++; |
161 |
|
}else |
162 |
print 'include_path : ok ('.ini_get('include_path').')<br>'; |
print 'include_path : ok ('.ini_get('include_path').')<br>'; |
163 |
|
|
164 |
if ( $flag_php==0 ) { |
if ( $flag_php==0 ) { |