Changeset 4335
- Timestamp:
- 05/04/08 23:26:43 (14 months ago)
- Location:
- branches/0.11/lib/Doctrine
- Files:
-
- 2 modified
-
Import/Builder.php (modified) (1 diff)
-
Lib.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/0.11/lib/Doctrine/Import/Builder.php
r4333 r4335 792 792 793 793 if ($definition['is_package']) { 794 $e = explode('.', $definition['package']);794 $e = explode('.', trim($definition['package'])); 795 795 $definition['package_name'] = $e[0]; 796 796 797 797 $definition['package_path'] = ! empty($e) ? implode(DIRECTORY_SEPARATOR, $e):$definition['package_name']; 798 798 } 799 800 799 // Top level definition that extends from all the others 801 800 $topLevel = $definition; -
branches/0.11/lib/Doctrine/Lib.php
r4164 r4335 364 364 } 365 365 366 return mkdir( $path, $mode, true);366 return mkdir(trim($path), $mode, true); 367 367 } 368 368