X7ROOT File Manager
Current Path:
/var/softaculous/moodle45
var
/
softaculous
/
moodle45
/
ðŸ“
..
📄
NOTES.txt
(2.22 KB)
📄
add_admin.php
(733 B)
📄
check_utf8.php
(6.99 KB)
📄
clone.php
(5.46 KB)
📄
config.php
(745 B)
📄
data.zip
(7.76 KB)
📄
edit.php
(4.63 KB)
📄
edit.xml
(433 B)
📄
extend.php
(12.4 KB)
📄
fileindex.php
(986 B)
📄
get_plugin_list.php
(840 B)
ðŸ“
images
📄
import.php
(7.48 KB)
📄
info.xml
(3.53 KB)
📄
install.js
(924 B)
📄
install.php
(11.28 KB)
📄
install.xml
(3.36 KB)
ðŸ“
languages
📄
md5
(4.86 KB)
📄
moodle45.sql
(1.22 MB)
📄
moodle45.zip
(90.27 MB)
ðŸ“
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