Ignore:
Timestamp:
Feb 8, 2007, 11:04:36 PM (18 years ago)
Author:
rub
Message:

Issue 0000639: Force selected page on index.php
Continue the Radu idea, restrict more use of random list

Issue 0000598: NBM: Add new informations
Add css on mail
Use user template for mail (on next commit, best control)

Comment mass_inserts because don't with MySQL 4.1.9

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/functions.php

    r1790 r1792  
    526526    $first = true;
    527527     
    528     $query = 'SHOW VARIABLES where variable_name = \'max_allowed_packet\';';
     528    /*$query = 'SHOW VARIABLES where variable_name = \'max_allowed_packet\';';
    529529    list(, $packet_size) = mysql_fetch_row(pwg_query($query));
    530     $packet_size = $packet_size - 2000; // The last list of values MUST not exceed 2000 character
    531    
     530    $packet_size = $packet_size - 2000; // The last list of values MUST not exceed 2000 character*/
     531    /* DON T WORK WITH MySQL 4.1.9 */
     532    $packet_size = 1000000;
     533    $query = '';
     534
    532535    foreach ($datas as $insert)
    533536    {
Note: See TracChangeset for help on using the changeset viewer.