1
0
mirror of synced 2024-12-14 07:06:04 +03:00

Fixed so packages folder is not created unless it is needed/used.

This commit is contained in:
Jonathan.Wage 2007-11-15 23:26:29 +00:00
parent 85ef90fd02
commit cb2d131364

View File

@ -129,8 +129,6 @@ class Doctrine_Import_Builder
*/
public function setTargetPath($path)
{
Doctrine::makeDirectories($path);
if ( ! $this->_packagesPath) {
$this->setPackagesPath($path . DIRECTORY_SEPARATOR . 'packages');
}
@ -157,8 +155,6 @@ class Doctrine_Import_Builder
*/
public function setPackagesPath($packagesPath)
{
Doctrine::makeDirectories($packagesPath);
$this->_packagesPath = $packagesPath;
}
@ -799,7 +795,7 @@ END;
$writePath = $this->_path . DIRECTORY_SEPARATOR . $this->_baseClassesDirectory;
}
}
if (isset($writePath)) {
Doctrine::makeDirectories($writePath);