FCPATH/vendor/illuminate/database/Illuminate/Database/Connectors/Connector.php [ 47 ]
42 {
43 $username = array_get($config, 'username');
44
45 $password = array_get($config, 'password');
46
47 return new PDO($dsn, $username, $password, $options);
48 }
49
50 /**
51 * Get the default PDO connection options.
52 *
-
FCPATH/vendor/illuminate/database/Illuminate/Database/Connectors/Connector.php [ 47 ] » PDO->__construct(arguments)
dsn
mysql:host=144.76.149.18;dbname=usr_web2_4
username
web2
passwd
20TraNet13
options
Array ( [8] => 0 [3] => 2 [11] => 0 [17] => [20] => 0 )
42 { 43 $username = array_get($config, 'username'); 44 45 $password = array_get($config, 'password'); 46 47 return new PDO($dsn, $username, $password, $options); 48 } 49 50 /** 51 * Get the default PDO connection options. 52 *
-
FCPATH/vendor/illuminate/database/Illuminate/Database/Connectors/MySqlConnector.php [ 20 ] » Illuminate\Database\Connectors\Connector->createConnection(arguments)
dsn
mysql:host=144.76.149.18;dbname=usr_web2_4
config
Array ( [driver] => mysql [host] => 144.76.149.18 [database] => usr_web2_4 [username] => web2 [prefix] => default_ [password] => 20TraNet13 [charset] => utf8 [collation] => utf8_unicode_ci [name] => default )
options
Array ( [8] => 0 [3] => 2 [11] => 0 [17] => [20] => 0 )
15 $options = $this->getOptions($config); 16 17 // We need to grab the PDO options that should be used while making the brand 18 // new connection instance. The PDO options control various aspects of the 19 // connection's behavior, and some might be specified by the developers. 20 $connection = $this->createConnection($dsn, $config, $options); 21 22 if (isset($config['unix_socket'])) 23 { 24 $connection->exec("use {$config['database']};"); 25 }
-
FCPATH/vendor/illuminate/database/Illuminate/Database/Connectors/ConnectionFactory.php [ 57 ] » Illuminate\Database\Connectors\MySqlConnector->connect(arguments)
config
Array ( [driver] => mysql [host] => 144.76.149.18 [database] => usr_web2_4 [username] => web2 [prefix] => default_ [password] => 20TraNet13 [charset] => utf8 [collation] => utf8_unicode_ci [name] => default )
52 * @param array $config 53 * @return \Illuminate\Database\Connection 54 */ 55 protected function createSingleConnection(array $config) 56 { 57 $pdo = $this->createConnector($config)->connect($config); 58 59 return $this->createConnection($config['driver'], $pdo, $config['database'], $config['prefix'], $config); 60 } 61 62 /**
-
FCPATH/vendor/illuminate/database/Illuminate/Database/Connectors/ConnectionFactory.php [ 46 ] » Illuminate\Database\Connectors\ConnectionFactory->createSingleConnection(arguments)
config
Array ( [driver] => mysql [host] => 144.76.149.18 [database] => usr_web2_4 [username] => web2 [prefix] => default_ [password] => 20TraNet13 [charset] => utf8 [collation] => utf8_unicode_ci [name] => default )
41 if (isset($config['read'])) 42 { 43 return $this->createReadWriteConnection($config); 44 } 45 46 return $this->createSingleConnection($config); 47 } 48 49 /** 50 * Create a single database connection instance. 51 *
-
FCPATH/vendor/illuminate/database/Illuminate/Database/DatabaseManager.php [ 176 ] » Illuminate\Database\Connectors\ConnectionFactory->make(arguments)
config
Array ( [driver] => mysql [host] => 144.76.149.18 [database] => usr_web2_4 [username] => web2 [prefix] => default_ [password] => 20TraNet13 [charset] => utf8 [collation] => utf8_unicode_ci )
name
default
171 if (isset($this->extensions[$driver])) 172 { 173 return call_user_func($this->extensions[$driver], $config, $name); 174 } 175 176 return $this->factory->make($config, $name); 177 } 178 179 /** 180 * Prepare the database connection instance. 181 *
-
FCPATH/vendor/illuminate/database/Illuminate/Database/DatabaseManager.php [ 64 ] » Illuminate\Database\DatabaseManager->makeConnection(arguments)
name
default
59 // If we haven't created this connection, we'll create it based on the config 60 // provided in the application. Once we've created the connections we will 61 // set the "fetch mode" for PDO which determines the query return types. 62 if ( ! isset($this->connections[$name])) 63 { 64 $connection = $this->makeConnection($name); 65 66 $this->setPdoForType($connection, $type); 67 68 $this->connections[$name] = $this->prepare($connection); 69 }
-
FCPATH/vendor/illuminate/database/Illuminate/Database/Capsule/Manager.php [ 107 ] » Illuminate\Database\DatabaseManager->connection(arguments)
name
102 * @param string $name 103 * @return \Illuminate\Database\Connection 104 */ 105 public function getConnection($name = null) 106 { 107 return $this->manager->connection($name); 108 } 109 110 /** 111 * Register a connection with the manager. 112 *
-
FCPATH/vendor/illuminate/database/Illuminate/Database/Capsule/Manager.php [ 73 ] » Illuminate\Database\Capsule\Manager->getConnection(arguments)
name
68 * @param string $connection 69 * @return \Illuminate\Database\Connection 70 */ 71 public static function connection($connection = null) 72 { 73 return static::$instance->getConnection($connection); 74 } 75 76 /** 77 * Get a fluent query builder instance. 78 *
-
FCPATH/system/cms/core/MY_Controller.php [ 323 ] » Illuminate\Database\Capsule\Manager::connection()
318 319 ci()->cache = new CacheManager($container); 320 321 $capsule->setCacheManager(ci()->cache);*/ 322 323 $conn = $capsule->connection(); 324 325 $conn->setFetchMode(PDO::FETCH_OBJ); 326 327 return $conn; 328 }
-
FCPATH/system/cms/core/MY_Controller.php [ 58 ] » MY_Controller->setupDatabase()
53 54 // By changing the prefix we are essentially "namespacing" each site 55 $this->db->set_dbprefix(SITE_REF.'_'); 56 57 // Set up the Illuminate\Database layer 58 ci()->pdb = self::setupDatabase(); 59 60 // Load the cache library now that we know the siteref 61 $this->load->library('pyrocache'); 62 63 // Add the site specific theme folder
-
FCPATH/system/cms/core/Public_Controller.php [ 17 ] » MY_Controller->__construct()
12 * Loads the gazillion of stuff, in Flash Gordon speed. 13 * @todo Document properly please. 14 */ 15 public function __construct() 16 { 17 parent::__construct(); 18 19 $this->benchmark->mark('public_controller_start'); 20 21 // Check redirects if GET and Not AJAX 22 if ( ! $this->input->is_ajax_request() and $_SERVER['REQUEST_METHOD'] == 'GET')
-
FCPATH/system/cms/modules/pages/controllers/pages.php [ 16 ] » Public_Controller->__construct()
11 /** 12 * Constructor method 13 */ 14 public function __construct() 15 { 16 parent::__construct(); 17 18 $this->load->model('page_m'); 19 $this->load->model('page_type_m'); 20 21 // This basically keeps links to /home always pointing to
-
FCPATH/system/codeigniter/core/CodeIgniter.php [ 304 ] » Pages->__construct()
299 * ------------------------------------------------------ 300 */ 301 // Mark a start point so we can benchmark the controller 302 $BM->mark('controller_execution_time_( '.$class.' / '.$method.' )_start'); 303 304 $CI = new $class(); 305 306 /* 307 * ------------------------------------------------------ 308 * Is there a "post_controller_constructor" hook? 309 * ------------------------------------------------------
-
FCPATH/index.php [ 278 ] » require_once(arguments)
0
/var/www/kukuka/de/html/cms/system/codeigniter/core/CodeIgniter.php
273 * -------------------------------------------------------------------- 274 * 275 * And away we go... 276 * 277 */ 278 require_once BASEPATH.'core/CodeIgniter'.EXT; 279 280 /* End of file index.php */