Show
Ignore:
Timestamp:
10/18/2007 10:36:47 PM (14 months ago)
Author:
Shadowhand
Message:

Small fixes:

  • Added ORM example at /orm/
  • Fixed the syntax of Kohana::debug_output()
  • Moved Database benchmarks to Database::query()
  • Fixed profiler to handle new Database benchmark (static) location
  • Database drivers now return the database connection resource instead of TRUE when calling connect()
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/libraries/Profiler.php

    r816 r848  
    5353                ( 
    5454                        'benchmarks' => array(), 
    55                         'queries'    => FALSE 
     55                        'queries'    => Database::$benchmarks 
    5656                ); 
    5757 
     
    6060                { 
    6161                        $data['benchmarks'][str_replace(SYSTEM_BENCHMARK.'_', '', $name)] = $time; 
    62                 } 
    63  
    64                 // Get database queries 
    65                 if (isset(Kohana::instance()->db)) 
    66                 { 
    67                         $data['queries'] = Database::$benchmarks; 
    6862                } 
    6963