Changeset 41

Show
Ignore:
Timestamp:
2007-11-27 18:56:43 (4 years ago)
Author:
hannes
Message:

setting for IP logging is integer, not string

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/admin/classes/pages/Settings.php

    r38 r41  
    7575                    fwrite($file, "\$SETTINGS['maxuploadsize'] = " . $newmaxuploadsize . "; // maximum file size of attachments in bytes\n"); 
    7676                    fwrite($file, "\$SETTINGS['uploadextensions'] = '" . $newuploadextensions . "'; // allowed file extensions for attachments (seperated by commas)\n"); 
    77                     fwrite($file, "\$SETTINGS['ip_logging'] = '" . $newip_logging . "'; // log IP address of every post (1) or not (0)\n"); 
     77                    fwrite($file, "\$SETTINGS['ip_logging'] = " . $newip_logging . "; // log IP address of every post (1) or not (0)\n"); 
    7878                    fwrite($file, "\$SETTINGS['language'] = '" . $newlanguage . "'; // default board language\n"); 
    7979                    fwrite($file, "\$SETTINGS['url_rewriting'] = " . $newurl_rewriting . "; // URL rewriting through mod_rewrite (1) or not (0)\n"); 
  • trunk/install.php

    r39 r41  
    154154                    fwrite($file, "\$SETTINGS['maxuploadsize'] = " . $SETTINGS['maxuploadsize'] . "; // maximum file size of attachments in bytes\n"); 
    155155                    fwrite($file, "\$SETTINGS['uploadextensions'] = '" . $SETTINGS['uploadextensions'] . "'; // allowed file extensions for attachments (seperated by commas)\n"); 
    156                     fwrite($file, "\$SETTINGS['ip_logging'] = '" . $SETTINGS['ip_logging'] . "'; // log IP address of every post (1) or not (0)\n"); 
     156                    fwrite($file, "\$SETTINGS['ip_logging'] = " . $SETTINGS['ip_logging'] . "; // log IP address of every post (1) or not (0)\n"); 
    157157                    fwrite($file, "\$SETTINGS['language'] = '" . $SETTINGS['language'] . "'; // default board language\n"); 
    158158                    fwrite($file, "\$SETTINGS['url_rewriting'] = " . $SETUPDATA['url_rewriting'] . "; // URL rewriting through mod_rewrite (1) or not (0)\n");