Ignore:
Timestamp:
Feb 22, 2015, 11:20:50 PM (9 years ago)
Author:
chronos
Message:
  • Modified: Tabs converted to spaces.
  • Modified: Remove spaces from end of lines.
  • Added: Code format script.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/Database.php

    r800 r816  
    4040  function __construct()
    4141  {
    42         $this->Functions = array('NOW()', 'CURDATE()', 'CURTIME()', 'UUID()');
    43         $this->Type = 'mysql'; // mysql, pgsql
    44         $this->ShowSQLError = false;
    45         $this->ShowSQLQuery = false;
    46         $this->LogSQLQuery = false;
    47         $this->LogFile = dirname(__FILE__).'/../Query.log';
     42    $this->Functions = array('NOW()', 'CURDATE()', 'CURTIME()', 'UUID()');
     43    $this->Type = 'mysql'; // mysql, pgsql
     44    $this->ShowSQLError = false;
     45    $this->ShowSQLQuery = false;
     46    $this->LogSQLQuery = false;
     47    $this->LogFile = dirname(__FILE__).'/../Query.log';
    4848  }
    4949
     
    6363  function query($Query)
    6464  {
    65         if(($this->ShowSQLQuery == true) or ($this->LogSQLQuery == true)) $QueryStartTime = microtime();
     65    if(($this->ShowSQLQuery == true) or ($this->LogSQLQuery == true)) $QueryStartTime = microtime();
    6666    $this->LastQuery = $Query;
    6767    $Result = new DatabaseResult();
     
    167167  function quote($Text)
    168168  {
    169         return($this->PDO->quote($Text));
     169    return($this->PDO->quote($Text));
    170170  }
    171171
Note: See TracChangeset for help on using the changeset viewer.