- Timestamp:
- 09/10/08 00:46:11 (2 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/php/Diggin_CDDB/library/Diggin/CDDB/Application/CDex.php
r19075 r19091 29 29 public function __construct($path = null) 30 30 { 31 $this->setLocalCDDBDirPath($path);31 if ($path) $this->setLocalCDDBDirPath($path); 32 32 } 33 33 34 34 public function setLocalCDDBDirPath($path) 35 35 { 36 $path = realpath($path); 37 if ($path === false) { 36 if (!$path) { 38 37 require_once 'Diggin/CDDB/Application/Exception.php'; 39 throw new Diggin_CDDB_Application_Exception('not valid path'); 38 throw new Diggin_CDDB_Application_Exception('Not valid path name'.$path); 39 } else { 40 if (!$path = realpath($path)) { 41 require_once 'Diggin/CDDB/Application/Exception.php'; 42 throw new Diggin_CDDB_Application_Exception('not valid path'.$path); 43 } 40 44 } 41 45
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)