X7ROOT File Manager
Current Path:
/var/softaculous/moodle311
var
/
softaculous
/
moodle311
/
??
..
??
NOTES.txt
(2.24 KB)
??
add_admin.php
(733 B)
??
check_utf8.php
(6.99 KB)
??
clone.php
(5.47 KB)
??
config.php
(745 B)
??
data.zip
(7.76 KB)
??
edit.php
(4.61 KB)
??
edit.xml
(433 B)
??
extend.php
(12.42 KB)
??
fileindex.php
(933 B)
??
get_plugin_list.php
(840 B)
??
images
??
import.php
(7.51 KB)
??
info.xml
(3.51 KB)
??
install.js
(924 B)
??
install.php
(10.75 KB)
??
install.xml
(2.73 KB)
??
languages
??
md5
(2.97 KB)
??
moodle311.sql
(1.06 MB)
??
moodle311.zip
(74.55 MB)
??
php53
??
php56
??
php71
??
php81
??
php82
??
privatekey.php
(786 B)
??
update_pass.php
(541 B)
??
upgrade.php
(8.84 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