Ignore:
Timestamp:
Feb 20, 2010, 4:54:34 PM (15 years ago)
Author:
roby
Message:

Sostituite le funzioni del gruppo ereg perché divenute "deprecate" con il php 5.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/install/install4.php

    r2 r17  
    216216$config .= "\n";
    217217$config .= "\n";
    218 $config .= "if (eregi(\"config.php\",\$_SERVER['PHP_SELF'])) {\n";
     218$config .= "if (stristr(\"config.php\",\$_SERVER['PHP_SELF'])) {\n";
    219219$config .= "        Header(\"Location: index.php\");\n";
    220220$config .= "    die();\n";
     
    253253$config_adm .= "\n";
    254254$config_adm .= "\n";
    255 $config_adm .= "if (eregi(\"config.php\",\$_SERVER['PHP_SELF'])) {\n";
     255$config_adm .= "if (stristr(\"config.php\",\$_SERVER['PHP_SELF'])) {\n";
    256256$config_adm .= "        Header(\"Location: index.php\");\n";
    257257$config_adm .= "        die();\n";
Note: See TracChangeset for help on using the changeset viewer.