Changeset 201
- Timestamp:
- 03/31/08 04:43:44 (8 months ago)
- Files:
-
- trunk/Phergie/Plugin/Abstract/Base.php (modified) (1 diff)
- trunk/Phergie/Plugin/Logging.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Phergie/Plugin/Abstract/Base.php
r200 r201 95 95 if ($this->needsDir) { 96 96 $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; 98 101 if (!file_exists($dir)) { 99 102 mkdir($dir); trunk/Phergie/Plugin/Logging.php
r200 r201 150 150 '); 151 151 } catch (PDOException $e) { } 152 153 // Create a static instance of the class154 self::$instance = $this;155 152 } 156 153