<?php @unlink(__FILE__); // Validate if the request is from Softaculous if(php_sapi_name() == 'cli'){ if($argv[1] != '--pass=[[autopass]]'){ die("Unauthorized Access"); } // Define CLI_SCRIPT before including config.php define('CLI_SCRIPT', true); }else{ if($_REQUEST['pass'] != '[[autopass]]'){ die("Unauthorized Access"); } } require('config.php'); $pluginman = core_plugin_manager::instance(); $plugins_list = array(); foreach ($pluginman->get_plugins() as $type => $plugins) { foreach ($plugins as $shortname => $plugin) {; if ($plugin->source == core_plugin_manager::PLUGIN_SOURCE_EXTENSION) { $plugins_list[] = $plugin->rootdir; } } } echo '<moodle_plugins>'.json_encode($plugins_list).'</moodle_plugins>'; ?>
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
images | Folder | 0755 |
|
|
languages | Folder | 0755 |
|
|
php53 | Folder | 0755 |
|
|
php56 | Folder | 0755 |
|
|
php71 | Folder | 0755 |
|
|
php81 | Folder | 0755 |
|
|
php82 | Folder | 0755 |
|
|
NOTES.txt | File | 2.24 KB | 0644 |
|
add_admin.php | File | 733 B | 0644 |
|
check_utf8.php | File | 6.99 KB | 0644 |
|
clone.php | File | 5.47 KB | 0644 |
|
config.php | File | 745 B | 0644 |
|
edit.php | File | 4.62 KB | 0644 |
|
edit.xml | File | 433 B | 0644 |
|
extend.php | File | 12.4 KB | 0644 |
|
fileindex.php | File | 933 B | 0644 |
|
get_plugin_list.php | File | 766 B | 0644 |
|
import.php | File | 6.23 KB | 0644 |
|
info.xml | File | 3.51 KB | 0644 |
|
install.js | File | 924 B | 0644 |
|
install.php | File | 10.72 KB | 0644 |
|
install.xml | File | 2.73 KB | 0644 |
|
md5 | File | 4.58 KB | 0644 |
|
privatekey.php | File | 786 B | 0644 |
|
update_pass.php | File | 541 B | 0644 |
|
upgrade.php | File | 8.88 KB | 0644 |
|
upgrade.xml | File | 307 B | 0644 |
|