Changeset 239

Show
Ignore:
Timestamp:
02/07/07 11:14:23 (1 year ago)
Author:
mikey
Message:

added getConfigPath()

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/config/php/config-dist.php

    r232 r239  
    4040     
    4141    /** 
     42     * this method should return the path to the config directory 
     43     * 
     44     * @return unknown 
     45     */ 
     46    public static function getConfigPath() 
     47    { 
     48        return realpath(dirname(__FILE__) . '/../'); 
     49    } 
     50     
     51    /** 
    4252     * switch to use star files or not 
    4353     * 
  • trunk/config/php/config.php

    r232 r239  
    4040     
    4141    /** 
     42     * this method should return the path to the config directory 
     43     * 
     44     * @return unknown 
     45     */ 
     46    public static function getConfigPath() 
     47    { 
     48        return realpath(dirname(__FILE__) . '/../'); 
     49    } 
     50     
     51    /** 
    4252     * switch to use star files or not 
    4353     *