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)
dsnmysql:host=localhost;dbname=vigifarma_www
usernamevigifarma_www
passwdpEseWQdNP2
optionsArray ( [8] => 0 [3] => 2 [11] => 0 [17] => [20] => )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)
dsnmysql:host=localhost;dbname=vigifarma_www
configArray ( [driver] => mysql [host] => localhost [database] => vigifarma_www [username] => vigifarma_www [prefix] => default_ [password] => pEseWQdNP2 [charset] => utf8 [collation] => utf8_unicode_ci [name] => default )optionsArray ( [8] => 0 [3] => 2 [11] => 0 [17] => [20] => )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)
configArray ( [driver] => mysql [host] => localhost [database] => vigifarma_www [username] => vigifarma_www [prefix] => default_ [password] => pEseWQdNP2 [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)
configArray ( [driver] => mysql [host] => localhost [database] => vigifarma_www [username] => vigifarma_www [prefix] => default_ [password] => pEseWQdNP2 [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)
configArray ( [driver] => mysql [host] => localhost [database] => vigifarma_www [username] => vigifarma_www [prefix] => default_ [password] => pEseWQdNP2 [charset] => utf8 [collation] => utf8_unicode_ci )namedefault
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)
namedefault
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)
name102 * @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)
name68 * @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 [ 319 ] » Illuminate\Database\Capsule\Manager::connection()
314 315 ci()->cache = new CacheManager($container); 316 317 $capsule->setCacheManager(ci()->cache);*/ 318 319 $conn = $capsule->connection(); 320 321 $conn->setFetchMode(PDO::FETCH_OBJ); 322 323 return $conn; 324 } -
FCPATH/system/cms/core/MY_Controller.php [ 57 ] » MY_Controller->setupDatabase()
52 53 // By changing the prefix we are essentially "namespacing" each site 54 $this->db->set_dbprefix(SITE_REF.'_'); 55 56 // Set up the Illuminate\Database layer 57 ci()->pdb = self::setupDatabase(); 58 59 // Load the cache library now that we know the siteref 60 $this->load->library('pyrocache'); 61 62 // 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 [ 296 ] » require_once(arguments)
0/var/www/vigifarma/system/codeigniter/core/CodeIgniter.php
291 * -------------------------------------------------------------------- 292 * 293 * And away we go... 294 * 295 */ 296 require_once BASEPATH.'core/CodeIgniter'.EXT; 297 298 /* End of file index.php */