Server IP : 149.255.58.128 / Your IP : 216.73.216.119
System : Linux cloud516.thundercloud.uk 5.14.0-427.26.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 17 15:51:13 EDT 2024 x86_64
PHP Version : 8.2.28
Disable Function : allow_url_include, apache_child_terminate, apache_setenv, exec, passthru, pcntl_exec, posix_kill, posix_mkfifo, posix_getpwuid, posix_setpgid, posix_setsid, posix_setuid, posix_setgid, posix_seteuid, posix_setegid, posix_uname, proc_close, proc_get_status, proc_open, proc_terminate, shell_exec, show_source, system
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Upload Files :
Command :
Current File : /var/softaculous/xoops//mainfile.php
<?php
/**
* XOOPS main configuration file
*
* You may not change or alter any portion of this comment or credits
* of supporting developers from this source code or any supporting source code
* which is considered copyrighted (c) material of the original comment or credit authors.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
* @copyright (c) 2000-2016 XOOPS Project (www.xoops.org)
* @license GNU GPL 2 (https://www.gnu.org/licenses/gpl-2.0.html)
*/
if (!defined('XOOPS_MAINFILE_INCLUDED')) {
define('XOOPS_MAINFILE_INCLUDED', 1);
// XOOPS Physical Paths
// Physical path to the XOOPS documents (served) directory WITHOUT trailing slash
define('XOOPS_ROOT_PATH', '[[softpath]]');
// For forward compatibility
// Physical path to the XOOPS library directory WITHOUT trailing slash
define('XOOPS_PATH', '[[softdatadir]]/xoops_lib');
// Physical path to the XOOPS datafiles (writable) directory WITHOUT trailing slash
define('XOOPS_VAR_PATH', '[[softdatadir]]/xoops_data');
// Alias of XOOPS_PATH, for compatibility, temporary solution
define('XOOPS_TRUST_PATH', XOOPS_PATH);
// URL Association for SSL and Protocol Compatibility
$http = 'http://';
if (!empty($_SERVER['HTTPS'])) {
$http = ($_SERVER['HTTPS'] === 'on') ? 'https://' : 'http://';
}
define('XOOPS_PROT', $http);
// XOOPS Virtual Path (URL)
// Virtual path to your main XOOPS directory WITHOUT trailing slash
// Example: define('XOOPS_URL', '[[softurl]]');
define('XOOPS_URL', '[[softurl]]');
// XOOPS Cookie Domain to specify when creating cookies. May be blank (i.e. for IP address host),
// full host from XOOPS_URL (i.e. www.example.com) or just the registered domain (i.e. example.com)
// to share cookies across multiple subdomains (i.e. www.example.com and blog.example.com)
define('XOOPS_COOKIE_DOMAIN', '[[domhost]]');
// Shall be handled later, don't forget!
define('XOOPS_CHECK_PATH', 0);
// Protect against external scripts execution if safe mode is not enabled
if (XOOPS_CHECK_PATH) {
if (function_exists('debug_backtrace')) {
$xoopsScriptPath = debug_backtrace();
if (!count($xoopsScriptPath)) {
die('XOOPS path check: this file cannot be requested directly');
}
$xoopsScriptPath = $xoopsScriptPath[0]['file'];
} else {
$xoopsScriptPath = isset($_SERVER['PATH_TRANSLATED']) ? $_SERVER['PATH_TRANSLATED'] : $_SERVER['SCRIPT_FILENAME'];
}
if (DIRECTORY_SEPARATOR !== '/') {
// IIS6 may double the \ chars
$xoopsScriptPath = str_replace(strpos($xoopsScriptPath, "\\\\", 2) ? "\\\\" : DIRECTORY_SEPARATOR, '/', $xoopsScriptPath);
}
if (strcasecmp(substr($xoopsScriptPath, 0, strlen(XOOPS_ROOT_PATH)), str_replace(DIRECTORY_SEPARATOR, '/', XOOPS_ROOT_PATH))) {
exit('XOOPS path check: Script is not inside XOOPS_ROOT_PATH and cannot run.');
}
}
// Secure file
require XOOPS_VAR_PATH . '/data/secure.php';
define('XOOPS_GROUP_ADMIN', '1');
define('XOOPS_GROUP_USERS', '2');
define('XOOPS_GROUP_ANONYMOUS', '3');
if (!isset($xoopsOption['nocommon']) && XOOPS_ROOT_PATH != '') {
include XOOPS_ROOT_PATH . '/include/common.php';
}
}
Name |
Size |
Last Modified |
Owner / Group |
Permissions |
Options |
.. | -- | May 23 2025 09:37:16 | 0 / root | 0755 | |
images | -- | May 24 2024 09:37:16 | 0 / root | 0755 | |
php53 | -- | May 24 2024 09:37:16 | 0 / root | 0755 | |
php56 | -- | May 24 2024 09:37:16 | 0 / root | 0755 | |
php71 | -- | May 24 2024 09:37:16 | 0 / root | 0755 | |
php81 | -- | May 24 2024 09:37:16 | 0 / root | 0755 | |
php82 | -- | May 24 2024 09:37:16 | 0 / root | 0755 | |
| | | | | |
changelog.txt | 51.15 KB | May 23 2024 06:21:56 | 0 / root | 0644 | |
clone.php | 3.268 KB | May 23 2024 06:22:28 | 0 / root | 0644 | |
edit.php | 4.372 KB | May 23 2024 06:22:28 | 0 / root | 0644 | |
edit.xml | 0.423 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
fileindex.php | 0.441 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
import.php | 3.624 KB | May 23 2024 06:22:28 | 0 / root | 0644 | |
info.xml | 2.896 KB | May 23 2024 06:21:56 | 0 / root | 0644 | |
install.js | 0.899 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
install.php | 4.653 KB | May 23 2024 06:22:28 | 0 / root | 0644 | |
install.xml | 1.435 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
mainfile.php | 3.43 KB | May 23 2024 06:21:56 | 0 / root | 0644 | |
md5 | 1.143 KB | May 23 2024 06:22:28 | 0 / root | 0644 | |
notes.txt | 1.179 KB | May 23 2024 06:21:56 | 0 / root | 0644 | |
secure.php | 1.661 KB | May 23 2024 06:21:56 | 0 / root | 0644 | |
upgrade.php | 5.088 KB | May 23 2024 06:22:28 | 0 / root | 0644 | |
upgrade.xml | 0.419 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |