Changeset 2094 in ExiteCMS for trunk/includes/db_functions.php


Ignore:
Timestamp:
12/06/08 22:42:30 (3 years ago)
Author:
WanWizard
Message:

fixed some PHP notice errors
moved the check on PHP debugging mode up, so it gets processed asap

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/db_functions.php

    r1991 r2094  
    101101 
    102102    // bail out if an error occurred and we're NOT in CLI mode! 
    103     if (!CMS_CLI && !$result) { 
     103    if ((defined('CMS_CLI') && !CMS_CLI) && !$result) { 
    104104        if ($display || $settings['debug_querylog']) { 
    105105            echo "<pre><br />Query: ".$query."<br />"; 
Note: See TracChangeset for help on using the changeset viewer.