Linux ns1.utparral.edu.mx 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
Apache/2.4.58 (Unix) OpenSSL/1.1.1w PHP/8.2.12 mod_perl/2.0.12 Perl/v5.34.1
: 10.10.1.9 | : 10.10.1.254
Cant Read [ /etc/named.conf ]
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
README
+ Create Folder
+ Create File
/
opt /
lampp /
lib /
php /
test /
MDB2 /
tests /
[ HOME SHELL ]
Name
Size
Permission
Action
Nonstandard
[ DIR ]
drwxr-xr-x
Standard
[ DIR ]
drwxr-xr-x
AllTests.php
1.4
KB
-rw-r--r--
autoload.inc
2.09
KB
-rw-r--r--
Debug.php
1.65
KB
-rw-r--r--
dsn.inc
9.32
KB
-rw-r--r--
functions.inc
3.69
KB
-rw-r--r--
import.schema.php
503
B
-rw-r--r--
README
747
B
-rw-r--r--
schema.xml
1.94
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : autoload.inc
<?php /** * Sets the include path, auto loader, and includes the DSN file * * @package MDB2 * @category Database * @author Daniel Convissor <danielc@php.net> */ $dirs = array(); // Determine this directory. $dirs['tests'] = realpath(__DIR__); // Determine path to the MDB2 classes to be tested. if ('/opt/lampp/lib/php' == '@'.'php_dir'.'@') { // This package hasn't been installed, use parent of this dir. $dirs['mdb2'] = realpath((dirname(__DIR__))); } else { $dirs['mdb2'] = '/opt/lampp/lib/php'; } /** * Path to the MDB2 files we are testing */ define('MDB2_TEST_MDB2_PATH', $dirs['mdb2']); // Determine if a current version of PHPUnit is installed. try { $fi = new SplFileObject('PHPUnit/Autoload.php', 'r', true); unset($fi); } catch (Exception $e) { try { $fi = new SplFileObject('PHPUnit/Framework.php', 'r', true); die("skip Run 'pear upgrade PHPUnit' then retry.\n"); } catch (Exception $e) { die("skip Run 'pear install pear.phpunit.de/PHPUnit' then retry.\n"); } } // Determine if and where MDB_Schema is installed. try { $fi = new SplFileObject('MDB2/Schema.php', 'r', true); $dirs['mdb2_schema'] = dirname(dirname($fi->getRealPath())); unset($fi); } catch (Exception $e) { die("skip Run 'pear install MDB2_Schema-beta' then retry.\n"); } // Set the include path. $dirs = array_unique($dirs); set_include_path(implode(PATH_SEPARATOR, $dirs) . PATH_SEPARATOR . get_include_path()); /** * Automatically includes files for new classes */ function mdb2_test_autoload($class) { $class_file = str_replace('_', '/', $class) . '.php'; try { $fi = new SplFileObject($class_file, 'r', true); require_once $fi->getPathname(); unset($fi); } catch (Exception $e) { // Fall through, perhaps another auto loader will pick it up. } } spl_autoload_register('mdb2_test_autoload'); /** * Line up PHPUnit's autoloader. */ require_once 'PHPUnit/Autoload.php'; /** * Gather our functions. */ require_once 'functions.inc'; /** * Gather our database connection information. */ require_once 'dsn.inc';
Close