Show
Ignore:
Timestamp:
08/21/11 03:30:08 (2 years ago)
Author:
tm1000
Message:

Even More fixes to paths

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.9/endpointman/includes/functions.inc

    r12432 r12433  
    5656        //end possible removal 
    5757 
    58   define("MODULES_PATH", $this->get_modules_dir()); 
    59          
     58  define("MODULES_PATH", $amp_conf['AMPWEBROOT'] . '/admin/modules/'); 
     59                 
    6060        //Determine if local path is correct! 
    6161        if(file_exists(MODULES_PATH."endpointman/")) { 
     
    140140        return($contents); 
    141141    } 
    142  
    143     function get_modules_dir() { 
    144         $stripped_path = str_replace("endpointman/includes", "", dirname(__FILE__)); 
    145         return $stripped_path; 
    146     } 
    147    
    148142 
    149143    /**