REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 3.52 KB
Close
//var/softaculous/clipper/config.inc.php
Text
Base64
<?php /** * CMS Configuration file */ if (!defined('MODX_API_MODE') || !MODX_API_MODE) { date_default_timezone_set($clipper_config['tz'] = 'America/New_York'); } $database_type = 'mysqli'; $database_server = '[[softdbhost]]'; $database_user = '[[softdbuser]]'; $database_password = '[[softdbpass]]'; $database_connection_charset = 'utf8'; $dbase = '`[[softdb]]`'; $table_prefix = '[[dbprefix]]'; error_reporting(E_ALL & ~E_STRICT & ~E_NOTICE); $lastInstallTime = [[timestamp]]; $site_sessionname = '[[sessionname]]'; $https_port = '443'; // automatically assign base_path and base_url if(empty($base_path)||empty($base_url)||$_REQUEST['base_path']||$_REQUEST['base_url']) { $sapi= 'undefined'; if (!strstr($_SERVER['PHP_SELF'], $_SERVER['SCRIPT_NAME']) && ($sapi= @ php_sapi_name()) == 'cgi') { $script_name= $_SERVER['PHP_SELF']; } else { $script_name= $_SERVER['SCRIPT_NAME']; } $a= explode("/manager", str_replace("\\", "/", dirname($script_name))); if (count($a) > 1) array_pop($a); $url= implode("manager", $a); reset($a); $a= explode("manager", str_replace("\\", "/", dirname(__FILE__))); if (count($a) > 1) array_pop($a); $pth= implode("manager", $a); unset ($a); $base_url= $url . (substr($url, -1) != "/" ? "/" : ""); $base_path= $pth . (substr($pth, -1) != "/" && substr($pth, -1) != "\\" ? "/" : ""); } // assign site_url define('MODX_SERVER_NAME', $_SERVER ['SERVER_NAME']); $site_url= ((isset ($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on') || $_SERVER['SERVER_PORT'] == $https_port) ? 'https://' : 'http://'; $site_url .= MODX_SERVER_NAME; if ($_SERVER['SERVER_PORT'] != 80) $site_url= str_replace(':' . $_SERVER['SERVER_PORT'], '', $site_url); // remove port from server name $site_url .= ($_SERVER['SERVER_PORT'] == 80 || (isset ($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on') || $_SERVER['SERVER_PORT'] == $https_port) ? '' : ':' . $_SERVER['SERVER_PORT']; $site_url .= $base_url; if (!defined('MODX_BASE_PATH')) define('MODX_BASE_PATH', $base_path); if (!defined('MODX_BASE_URL')) define('MODX_BASE_URL', $base_url); if (!defined('MODX_SITE_URL')) define('MODX_SITE_URL', $site_url); if (!defined('MODX_MANAGER_PATH')) define('MODX_MANAGER_PATH', $base_path.'manager/'); if (!defined('MODX_MANAGER_URL')) define('MODX_MANAGER_URL', $site_url.'manager/'); // start cms session if(!function_exists('startCMSSession')) { function startCMSSession(){ global $site_sessionname, $https_port; session_name($site_sessionname); session_start(); $cookieExpiration= 0; if (isset ($_SESSION['mgrValidated']) || isset ($_SESSION['webValidated'])) { $contextKey= isset ($_SESSION['mgrValidated']) ? 'mgr' : 'web'; if (isset ($_SESSION['modx.' . $contextKey . '.session.cookie.lifetime']) && is_numeric($_SESSION['modx.' . $contextKey . '.session.cookie.lifetime'])) { $cookieLifetime= intval($_SESSION['modx.' . $contextKey . '.session.cookie.lifetime']); } if ($cookieLifetime) { $cookieExpiration= time() + $cookieLifetime; } if (!isset($_SESSION['modx.session.created.time'])) { $_SESSION['modx.session.created.time'] = time(); } } $secure = ((isset ($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on') || $_SERVER['SERVER_PORT'] == $https_port); setcookie(session_name(), session_id(), $cookieExpiration, MODX_BASE_URL, null, $secure, true); } } ?>
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 5 × Files: 12
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
images
DIR
-
drwxr-xr-x
2024-03-21 11:33:11
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
php53
DIR
-
drwxr-xr-x
2024-03-21 11:33:11
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
php56
DIR
-
drwxr-xr-x
2024-03-21 11:33:11
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
php71
DIR
-
drwxr-xr-x
2024-03-21 11:33:11
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
php81
DIR
-
drwxr-xr-x
2024-03-21 11:33:11
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
clone.php
4.78 KB
lrw-r--r--
2022-09-21 09:44:38
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
config.inc.php
3.52 KB
lrw-r--r--
2021-12-23 11:54:36
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
edit.php
4.46 KB
lrw-r--r--
2022-09-21 09:44:38
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
edit.xml
433 B
lrw-r--r--
2021-12-23 11:54:36
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
fileindex.php
96 B
lrw-r--r--
2021-12-23 11:54:36
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
import.php
3.18 KB
lrw-r--r--
2022-09-21 09:44:38
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
info.xml
2.16 KB
lrw-r--r--
2022-09-21 08:18:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
install.js
924 B
lrw-r--r--
2021-12-23 11:54:36
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
install.php
5.31 KB
lrw-r--r--
2022-09-21 09:44:38
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
install.xml
1.86 KB
lrw-r--r--
2021-12-23 11:54:36
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
md5
6.82 KB
lrw-r--r--
2022-09-21 09:44:38
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
notes.txt
395 B
lrw-r--r--
2021-12-23 11:54:36
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).