Changeset 12433 for modules/branches/2.9
- Timestamp:
- 08/21/11 03:30:08 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.9/endpointman/includes/functions.inc
r12432 r12433 56 56 //end possible removal 57 57 58 define("MODULES_PATH", $ this->get_modules_dir());59 58 define("MODULES_PATH", $amp_conf['AMPWEBROOT'] . '/admin/modules/'); 59 60 60 //Determine if local path is correct! 61 61 if(file_exists(MODULES_PATH."endpointman/")) { … … 140 140 return($contents); 141 141 } 142 143 function get_modules_dir() {144 $stripped_path = str_replace("endpointman/includes", "", dirname(__FILE__));145 return $stripped_path;146 }147 148 142 149 143 /**
