From d1eb2477fb605d30e6b68f050fe6156310fb2159 Mon Sep 17 00:00:00 2001 From: Stefan Gabos Date: Sun, 28 Jan 2024 12:52:09 +0200 Subject: [PATCH] Updated docs with latest changes --- docs/Zebra_Database/Zebra_Database.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/Zebra_Database/Zebra_Database.html b/docs/Zebra_Database/Zebra_Database.html index b98ac8d..776088b 100644 --- a/docs/Zebra_Database/Zebra_Database.html +++ b/docs/Zebra_Database/Zebra_Database.html @@ -65,7 +65,7 @@

Author(s):

Version:

License:

It is highly recommended to set the value of this property to FALSE on the production environment. Generating the debugging information may consume a lot of resources and is meant to be used only in the development process!

  1. // log debug information instead of showing it on screen
  2. // log everything in one single file (not by day/hour) and also show backtrace information
  3. -
  4. $db->`debug = array(false,` falsetrue)
  5. +
  6. $db->debug array(falsefalsetrue)
  7.  
  8. // disable the generation of debugging information
  9. $db->debug false;
  10. @@ -383,7 +383,7 @@
    Tags

    boolean | array $debug_show_globals = true

    Indicates which of $_REQUEST, $_POST, $_GET, $_SESSION, $_COOKIE, $_FILES and $_SERVER superglobals should be available in the debugging console, under the globals section.

    -

    Can be set to either boolean TRUE or FALSE as a global setting, or as an associative array where each option's visibility can be individually be set, like in the example below:

    1. $db->debug_show_globals(array(
    2. +

      Can be set to either boolean TRUE or FALSE as a global setting, or as an associative array where each option's visibility can be individually be set, like in the example below:

      1. $db->debug_show_globals array(
      2.     'request'   =>  true,
      3.     'post'      =>  true,
      4.     'get'       =>  true,
      5. @@ -391,7 +391,7 @@

        boolean | array
            'cookie'    =>  true,
      6.     'files'     =>  true,
      7.     'server'    =>  true,
      8. -
      9. ));
      10. +
      11. );

      Default is TRUE

      Tags
      @@ -407,7 +407,7 @@

      integer $

      Sets the number of records returned by SELECT queries to be shown in the debugging console.

      Setting this to 0 or FALSE will disable this feature.

      1. // show 50 records
      2. -
      3. +
      4. $db->debug_show_records 50;

      Be aware that having this property set to a high number (hundreds) and having queries that di return that many rows can cause your script to crash due to memory limitations. In this case you should either lower the value of this property or try and set PHP's memory limit higher using:

      1. // set PHP's memory limit to 20 MB
      2. ini_set('memory_limit','20M');

      Default is 20