/[phpcompta]/phpcompta/html/admin/setup.php
ViewVC logotype

Diff of /phpcompta/html/admin/setup.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.17 by sparkyx, Sun Mar 6 15:53:32 2005 UTC revision 1.18 by sparkyx, Wed Mar 9 13:19:08 2005 UTC
# Line 55  h2.error { Line 55  h2.error {
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);
# Line 155  if ( ereg("..\/include",ini_get('include Line 155  if ( ereg("..\/include",ini_get('include
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 ) {

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26