Changeset 10377
- Timestamp:
- 10/08/10 14:07:12 (3 years ago)
- Files:
-
- freepbx/trunk/amp_conf/htdocs/admin/config.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/trunk/amp_conf/htdocs/admin/config.php
r10122 r10377 95 95 * Looks for "module" and "file" variables, strips .. and only allows normal filename characters. 96 96 * Accepts only files of the type listed in $allowed_exts below, and sends the corresponding mime-type, 97 * and always interprets files through the PHP interpreter. (Most of?) the freepbxenvironment is available,97 * and always interprets files through the PHP interpreter. (Most of?) the FreePBX environment is available, 98 98 * including $db and $astman, and the user is authenticated. 99 99 */ … … 264 264 265 265 // call every modules _configpageinit function which should just 266 // register the gui and process functions for each module, if relev ent266 // register the gui and process functions for each module, if relevant 267 267 // for this $display 268 268 foreach ($configpageinits as $func) { … … 305 305 $module_file = 'modules/'.$module_name.'/page.'.$module_page.'.php'; 306 306 307 //TODO Determine which item is this module displaying. Currently this is over the place, we should standar ize on a "itemid" request var for now, we'll just cover all possibilities :-(307 //TODO Determine which item is this module displaying. Currently this is over the place, we should standardize on a "itemid" request var for now, we'll just cover all possibilities :-( 308 308 $possibilites = array( 309 309 'userdisplay', … … 357 357 break; 358 358 case 'modules': 359 // set these to avoid eundefined variable warnings later359 // set these to avoid undefined variable warnings later 360 360 // 361 361 $module_name = 'modules';
