Changeset 5131

Show
Ignore:
Timestamp:
10/22/08 22:00:24 (17 months ago)
Author:
guilhermeblanco
Message:

[1.1] fixes #1598 Thanks for the patch!

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/1.1/lib/Doctrine/Migration/Diff.php

    r5110 r5131  
    131131         
    132132        // clean up tmp directories 
    133         Doctrine_Lib::removeDirectories(sys_get_temp_dir() . strtolower(self::$_fromPrefix) . '_doctrine_tmp_dirs'); 
    134         Doctrine_Lib::removeDirectories(sys_get_temp_dir() . strtolower(self::$_toPrefix) . '_doctrine_tmp_dirs'); 
     133        Doctrine_Lib::removeDirectories(sys_get_temp_dir() . DIRECTORY_SEPARATOR . strtolower(self::$_fromPrefix) . '_doctrine_tmp_dirs'); 
     134        Doctrine_Lib::removeDirectories(sys_get_temp_dir() . DIRECTORY_SEPARATOR . strtolower(self::$_toPrefix) . '_doctrine_tmp_dirs'); 
    135135         
    136136        return $changes; 
     
    277277    protected function _generateModels($prefix, $item) 
    278278    { 
    279         $path = sys_get_temp_dir() . strtolower($prefix) . '_doctrine_tmp_dirs'; 
     279        $path = sys_get_temp_dir() . DIRECTORY_SEPARATOR . strtolower($prefix) . '_doctrine_tmp_dirs'; 
    280280        $options = array('classPrefix' => $prefix); 
    281281