Ignore:
Timestamp:
08/29/10 18:30:31 (21 months ago)
Author:
vain
Message:
  • clansuite doctrine profiler is now called statically
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/core/doctrine.core.php

    r4599 r4607  
    233233         * Sets Charset and Collation globally on Doctrine_Manager instance 
    234234         */ 
    235         $this->manager->setCollate('utf8_unicode_ci'); 
     235        # the following cmd is more direct and just a substitute for setCollate() 
     236        $this->manager->setAttribute(Doctrine_Core::ATTR_DEFAULT_TABLE_COLLATE, 'utf8_unicode_ci'); 
    236237        $this->manager->setCharset('utf8'); 
    237238 
     
    313314    { 
    314315        include ROOT_CORE . 'debug/doctrineprofiler.core.php'; 
    315         $profiler = new Clansuite_Doctrine_Profiler(); 
    316         $profiler->attachProfiler(); 
     316        Clansuite_Doctrine_Profiler::attachProfiler(); 
    317317    } 
    318318 
Note: See TracChangeset for help on using the changeset viewer.