Ignore:
Timestamp:
Nov 12, 2008, 1:40:20 PM (15 years ago)
Author:
patdenice
Message:
  • Remove advises of file removal at the end of install/upgrade.
  • Automatic change mysql.inc.php if file is writable, else purpose manual change to user.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/install/upgrade_1.3.1.php

    r2838 r2863  
    596596}
    597597
    598 // Insert define('PHPWG_INSTALLED', true); in mysql.inc.php
    599 $config_file_contents =
    600     substr($config_file_contents, 0, $php_end_tag).'
    601 define(\'PHPWG_INSTALLED\', true);
    602 '.substr($config_file_contents, $php_end_tag);
    603 
    604 $fp = @fopen( $config_file, 'w' );
    605 @fputs($fp, $config_file_contents, strlen($config_file_contents));
    606 @fclose($fp);
     598// changes to write in mysql.inc.php
     599array_push($mysql_changes, 'define(\'PHPWG_INSTALLED\', true);');
    607600
    608601// Send infos
Note: See TracChangeset for help on using the changeset viewer.