<?php
@unlink(__FILE__);
// Validate if the request is from Softaculous
if(php_sapi_name() == 'cli'){
if($argv[1] != '--pass=[[autopass]]'){
die("Unauthorized Access");
}
if(isset($_SERVER['REMOTE_ADDR'])){
unset($_SERVER['REMOTE_ADDR']);
}
// 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 | 1.93 KB | 0644 |
|
| add_admin.php | File | 733 B | 0644 |
|
| check_utf8.php | File | 5.88 KB | 0644 |
|
| clone.php | File | 5.49 KB | 0644 |
|
| config.php | File | 745 B | 0644 |
|
| data.zip | File | 7.42 KB | 0644 |
|
| edit.php | File | 4.63 KB | 0644 |
|
| edit.xml | File | 433 B | 0644 |
|
| extend.php | File | 12.45 KB | 0644 |
|
| fileindex.php | File | 947 B | 0644 |
|
| get_plugin_list.php | File | 840 B | 0644 |
|
| import.php | File | 7.48 KB | 0644 |
|
| info.xml | File | 3.56 KB | 0644 |
|
| install.js | File | 924 B | 0644 |
|
| install.php | File | 11.16 KB | 0644 |
|
| install.xml | File | 3.24 KB | 0644 |
|
| md5 | File | 4.4 KB | 0644 |
|
| moodle42.sql | File | 1.15 MB | 0644 |
|
| moodle42.zip | File | 79.36 MB | 0644 |
|
| privatekey.php | File | 975 B | 0644 |
|
| update_pass.php | File | 541 B | 0644 |
|
| upgrade.php | File | 9.46 KB | 0644 |
|
| upgrade.xml | File | 307 B | 0644 |
|