Uname: Linux web3.us.cloudlogin.co 5.10.226-xeon-hst #2 SMP Fri Sep 13 12:28:44 UTC 2024 x86_64
Software: Apache
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.210.96.117
Your Ip: 18.118.162.155
User: edustar (269686) | Group: tty (888)
Safe Mode: OFF
Disable Function:
NONE

name : MDBContainer.php
<?php

include_once 'TestAuthContainer.php';
include_once 'Auth/Container/MDB.php';


class MDBContainer extends TestAuthContainer {


    function &getContainer() {
        static $container;
        #print "In MDBContainer::getContainer {$this->skip_tests}\n";
        if(!isset($container)){
            include 'auth_container_mdb_options.php';
            $container = new Auth_Container_MDB($options);
            // Catch if DB connection cannot be made
            $res = $container->_prepare();
        }

        if (!MDB::isConnection($container->db)) {
            $this->markTestSkipped("MDB is not a connection object, check dsn");
        }
        return $container;
    }

    function &getExtraOptions() {
        include 'auth_container_mdb_options.php';
        return $extra_options;
    }
}




?>
© 2025 GrazzMean