Changeset 4 for trunk/show_errors.php


Ignore:
Timestamp:
Jul 27, 2016, 11:28:39 PM (8 years ago)
Author:
chronos
Message:
  • Fixed: Use table prefix from Database class.
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore
      •  

        old new  
        11config.php
         2.buildpath
         3.project
         4.settings
  • trunk/show_errors.php

    r3 r4  
    1212foreach($Cols as $Index => $Item) $Output .= '<th>'.$Item.'</td>';
    1313$Output .= '</tr>';
    14 $DbResult = $Database->select($DB_Prefix.'app_errors', '*', '1 ORDER BY id DESC LIMIT '.$Page*$PageItems.','.$PageItems);
     14$DbResult = $Database->select('app_errors', '*', '1 ORDER BY id DESC LIMIT '.$Page*$PageItems.','.$PageItems);
    1515while($Row = $DbResult->fetch_assoc())
    1616{
     
    2424}
    2525$Output .= '</table>';
    26 $DbResult = $Database->select($DB_Prefix.'app_errors', 'COUNT(*)');
     26$DbResult = $Database->select('app_errors', 'COUNT(*)');
    2727$Count = $DbResult->fetch_assoc();
    2828$Output .= PagesList('show_errors.php?page=', $_GET['page'], $Count[0], $PageItems);
Note: See TracChangeset for help on using the changeset viewer.