Changeset 1731
- Timestamp:
- 07/22/08 19:59:35 (2 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
framework/trunk/projects/dist/config/php/config-dist.php
r1654 r1731 5 5 class stubConfig 6 6 { 7 /** 8 * path to root of project 9 * 10 * @var string 11 */ 12 private static $rootPath = null; 7 13 /** 8 14 * path to libary files … … 47 53 */ 48 54 private static $commonPath = null; 55 56 /** 57 * Returns the root path of the project. 58 * 59 * By default its /path/to/stubbles/. 60 * 61 * @return string 62 */ 63 public static function getRootPath() 64 { 65 if (null == self::$rootPath) { 66 self::$rootPath = realpath(dirname(__FILE__) . '/../../../../'); 67 } 68 69 return self::$rootPath; 70 } 49 71 50 72 /** framework/trunk/projects/dist/config/php/config.php
r1654 r1731 5 5 class stubConfig 6 6 { 7 /** 8 * path to root of project 9 * 10 * @var string 11 */ 12 private static $rootPath = null; 7 13 /** 8 14 * path to libary files … … 47 53 */ 48 54 private static $commonPath = null; 55 56 /** 57 * Returns the root path of the project. 58 * 59 * By default its /path/to/stubbles/. 60 * 61 * @return string 62 */ 63 public static function getRootPath() 64 { 65 if (null == self::$rootPath) { 66 self::$rootPath = realpath(dirname(__FILE__) . '/../../../../'); 67 } 68 69 return self::$rootPath; 70 } 49 71 50 72 /**
