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)
📄
edit.php
(4.65 KB)
📄
edit.xml
(433 B)
📄
extend.php
(12.51 KB)
📄
fileindex.php
(959 B)
📄
get_plugin_list.php
(840 B)
ðŸ“
images
📄
import.php
(7.48 KB)
📄
info.xml
(3.57 KB)
📄
install.js
(924 B)
📄
install.php
(11.17 KB)
📄
install.xml
(3.16 KB)
ðŸ“
languages
📄
md5
(5.5 KB)
ðŸ“
php53
ðŸ“
php56
ðŸ“
php71
ðŸ“
php81
ðŸ“
php82
📄
privatekey.php
(975 B)
📄
update_pass.php
(541 B)
📄
upgrade.php
(9.43 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