Changeset 709
- Timestamp:
- Jan 5, 2014, 2:07:44 PM (11 years ago)
- Location:
- trunk/includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/Database.php
r608 r709 64 64 function query($Query) 65 65 { 66 if($this->ShowSQLQuery == true) $QueryStartTime = microtime(); 66 67 $this->LastQuery = $Query; 67 if($this->ShowSQLQuery == true)68 echo('<div style="border-bottom-width: 1px; border-bottom-style: solid; padding-bottom: 3px; padding-top: 3px; font-size: 12px; font-family: Arial;">'.$Query.'</div>'."\n");69 68 if($this->LogSQLQuery == true) 70 69 file_put_contents($this->LogFile, $Query."\n", FILE_APPEND); 71 70 $Result = new DatabaseResult(); 72 71 $Result->PDOStatement = $this->PDO->query($Query); 72 if($this->ShowSQLQuery == true) 73 { 74 $Duration = ' ; '.(microtime() - $QueryStartTime). ' s'; 75 echo('<div style="border-bottom-width: 1px; border-bottom-style: solid; padding-bottom: 3px; padding-top: 3px; font-size: 12px; font-family: Arial;">'.$Query.$Duration.'</div>'."\n"); 76 } 73 77 if($Result->PDOStatement) 74 78 { -
trunk/includes/Version.php
r708 r709 6 6 // and system will need database update. 7 7 8 $Revision = 70 8; // Subversion revision8 $Revision = 709; // Subversion revision 9 9 $DatabaseRevision = 695; // Database structure revision 10 10 $ReleaseTime = '2014-01-04';
Note:
See TracChangeset
for help on using the changeset viewer.