Example #1
1
 function __construct(\Abode\ConfigLibrary $config)
 {
     $this->database = $config->get("data.dbName");
     $this->config = $config;
 }
Example #2
0
 function __construct(\Abode\ConfigLibrary $config, \DI\Container $container)
 {
     $this->config = array("userCol" => $config->get('auth.userCol', "username"), "idCol" => $config->get('auth.idCol', "id"), "auth_key" => $config->get('auth.auth_key', "user_id"));
     $this->passwordHasher = new \Hautelook\Phpass\PasswordHash(8, false);
     $this->container = $container;
 }
Example #3
0
 function __construct(\Abode\ConfigLibrary $config)
 {
     $this->db_name = $config->get("data.dbName");
 }