X7ROOT File Manager
Current Path:
/var/softaculous/moodle42
var
/
softaculous
/
moodle42
/
ðŸ“
..
📄
NOTES.txt
(1.93 KB)
📄
add_admin.php
(733 B)
📄
check_utf8.php
(5.88 KB)
📄
clone.php
(5.48 KB)
📄
config.php
(745 B)
📄
data.zip
(7.42 KB)
📄
edit.php
(4.65 KB)
📄
edit.xml
(433 B)
📄
extend.php
(12.47 KB)
📄
fileindex.php
(947 B)
📄
get_plugin_list.php
(840 B)
ðŸ“
images
📄
import.php
(7.46 KB)
📄
info.xml
(3.56 KB)
📄
install.js
(924 B)
📄
install.php
(11.15 KB)
📄
install.xml
(3.24 KB)
ðŸ“
languages
📄
md5
(5.99 KB)
📄
moodle42.sql
(1.15 MB)
📄
moodle42.zip
(79.36 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