Assembla home | Assembla project page
 

Changeset 201

Show
Ignore:
Timestamp:
03/31/08 04:43:44 (8 months ago)
Author:
Slynderdale
Message:

Fixed a couple of bugs and did some code clean up.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Phergie/Plugin/Abstract/Base.php

    r200 r201  
    9595        if ($this->needsDir) { 
    9696            $class = new ReflectionClass($name); 
    97             $dir = dirname($class->getFilename()) . DS . $this->name . DS; 
     97            $dir = dirname($class->getFilename()) . 
     98                   DIRECTORY_SEPARATOR . 
     99                   $this->name . 
     100                   DIRECTORY_SEPARATOR; 
    98101            if (!file_exists($dir)) { 
    99102                mkdir($dir); 
  • trunk/Phergie/Plugin/Logging.php

    r200 r201  
    150150            '); 
    151151        } catch (PDOException $e) { } 
    152  
    153         // Create a static instance of the class 
    154         self::$instance = $this; 
    155152    } 
    156153