diff --git a/build/exe/doliwamp/index.php.install b/build/exe/doliwamp/index.php.install index 0df983529f4..2ccd4a5ff66 100644 --- a/build/exe/doliwamp/index.php.install +++ b/build/exe/doliwamp/index.php.install @@ -3,7 +3,7 @@ // Page created by Shepard [Fabian Pijcke] // Arno Esterhuizen // and Romain Bourdon -// +// // icones by Mark James // // Modified from WampServer project by Laurent Destailleur (NLTechno) @@ -260,7 +260,7 @@ if (isset($_GET['askhelp'])) // Show PHPInfo if (isset($_GET['phpinfo'])) { - phpinfo(); + phpinfo(INFO_GENERAL|INFO_MODULES); exit(); } @@ -274,27 +274,27 @@ if (isset($_GET['img'])) header("Content-type: image/png"); echo base64_decode($pngFolder); exit(); - + case 'pngFolderGo' : header("Content-type: image/png"); echo base64_decode($pngFolderGo); exit(); - + case 'pngLogo' : header("Content-type: image/png"); echo base64_decode($pngLogo); exit(); - + case 'pngPlugin' : header("Content-type: image/png"); echo base64_decode($pngPlugin); exit(); - + case 'pngWrench' : header("Content-type: image/png"); echo base64_decode($pngWrench); exit(); - + case 'favicon' : header("Content-type: image/x-icon"); echo base64_decode($favicon); @@ -324,7 +324,7 @@ foreach ($loaded_extensions as $extension) { $phpExtContents .= "
  • ${extension}
  • "; } - + // Read alias directory $listoffile=array(); $aliasarray=array(); @@ -337,10 +337,10 @@ if (is_dir($aliasDir)) { } } sort($listoffiles); - + foreach($listoffiles as $file) { if (is_file($aliasDir.$file) && preg_match('/\.conf/',$file)) - { + { $msg = ''; $aliasContents.='
      '; @@ -350,7 +350,7 @@ if (is_dir($aliasDir)) { if (preg_match('/dolibarr/i',$file)) $aliasContents .= $file.'
    http://localhost'.($apachePort != 80?':'.$apachePort:'').'/'.$file.'/http://ipofyourserver'.($apachePort != 80?':'.$apachePort:'').'/'.$file.'/'; elseif (preg_match('/phpmyadmin/i',$file)) $aliasContents .= $file.'http://localhost'.($apachePort != 80?':'.$apachePort:'').'/'.$file.'/'.$langues[$langue]['NotAvailable'].''; else $aliasContents .= $file.' '.$langues[$langue]['NotAvailable'].''; - + $aliasarray[]=$file; } } @@ -358,13 +358,13 @@ if (is_dir($aliasDir)) { } if (!isset($aliasContents)) $aliasContents = ''.$langues[$langue]['txtNoAlias'].''; - + // Read projects in www dir $listoffiles=array(); $handle=opendir("."); if (is_resource($handle)) { - while ($file = readdir($handle)) + while ($file = readdir($handle)) { $listoffiles[]=$file; } @@ -372,14 +372,14 @@ if (is_resource($handle)) { } foreach($listoffiles as $file) { - if (is_dir($file) && !in_array($file,$projectsListIgnore) && !in_array($file,$aliasarray)) - { + if (is_dir($file) && !in_array($file,$projectsListIgnore) && !in_array($file,$aliasarray)) + { $projectContents .= 'http://localhost'.($apachePort != 80?':'.$apachePort:'').'/'.$file.'/)'.''.$langues[$langue]['NotAvailable'].''; } } @@ -509,7 +509,7 @@ a:hover { font-size: 0.85em; } - + @@ -533,7 +533,7 @@ a:hover {
    ${apacheVersion}  
    {$langues[$langue]['versp']}
    ${phpVersion}  
    -
    {$langues[$langue]['phpExt']}
    +
    {$langues[$langue]['phpExt']}
      ${phpExtContents} @@ -554,8 +554,8 @@ a:hover { {$langues[$langue]['FromInternet']} - ${aliasContents} - ${projectContents} + ${aliasContents} + ${projectContents}

      {$langues[$langue]['titrePage']}