X7ROOT File Manager
Current Path:
/var/softaculous/moodle40
var
/
softaculous
/
moodle40
/
??
..
??
NOTES.txt
(2.25 KB)
??
add_admin.php
(733 B)
??
check_utf8.php
(6.99 KB)
??
clone.php
(5.48 KB)
??
config.php
(745 B)
??
data.zip
(7.76 KB)
??
edit.php
(4.63 KB)
??
edit.xml
(433 B)
??
extend.php
(12.47 KB)
??
fileindex.php
(959 B)
??
get_plugin_list.php
(840 B)
??
images
??
import.php
(7.5 KB)
??
info.xml
(3.57 KB)
??
install.js
(924 B)
??
install.php
(11.15 KB)
??
install.xml
(3.16 KB)
??
languages
??
md5
(4.76 KB)
??
moodle40.sql
(1.11 MB)
??
moodle40.zip
(76.14 MB)
??
php53
??
php56
??
php71
??
php81
??
php82
??
privatekey.php
(975 B)
??
update_pass.php
(541 B)
??
upgrade.php
(9.41 KB)
??
upgrade.xml
(307 B)
Editing: get_plugin_list.php
<?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>'; ?>
Upload File
Create Folder