- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
$files = file_scan_directory(dirname(__FILE__) .'/modes/', '^([^\.].*)\.inc$', array('.', '..', 'CVS'), 0, FALSE);
foreach ($files as $file) {
require_once($file->filename);
$mode = $file->name;
if (function_exists('advpoll_info_'. $mode)) {
$advpoll_modes[$mode] = call_user_func('advpoll_info_'. $mode);
}
}
guest 30.09.2011 12:27 # +2
cephuo 30.09.2011 16:32 # 0