Show
Ignore:
Timestamp:
02/28/2008 09:47:34 PM (10 months ago)
Author:
zombor
Message:

Adding support for configurable database value escaping

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/libraries/drivers/Database.php

    r2064 r2193  
    278278        public function escape($value) 
    279279        { 
     280                if (!$this->db_config['escape']) 
     281                        return $value; 
     282 
    280283                switch (gettype($value)) 
    281284                {