芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/joolsmen.com/application/config/database.php
db->last_query() and profiling of DB queries. | When you run a query, with this setting set to TRUE (default), | CodeIgniter will store the SQL statement for debugging purposes. | However, this may cause high memory usage, especially if you run | a lot of SQL queries ... disable this to avoid that problem. | | The $active_group variable lets you choose which connection group to | make active. By default there is only one group (the 'default' group). | | The $query_builder variables lets you determine whether or not to load | the query builder class. */ $active_group = 'default'; $query_builder = TRUE; define('DBENVIRONMENT', 'local'); // local if(DBENVIRONMENT == 'local') { $db['default'] = array( 'dsn' => '', 'hostname' => 'localhost', 'username' => 'qrafawbu_jools_usr', 'password' => '17#4G}8~2b+_', 'database' => 'qrafawbu_jools', 'dbdriver' => 'mysqli', 'port' => '', 'dbprefix' => '', 'pconnect' => FALSE, 'db_debug' => FALSE, 'cache_on' => FALSE, 'cachedir' => '', 'char_set' => 'utf8', 'dbcollat' => 'utf8_general_ci', 'swap_pre' => '', 'encrypt' => FALSE, 'compress' => FALSE, 'stricton' => FALSE, 'failover' => array(), 'save_queries' => TRUE, 'WS' => 'ws', 'WEBSOCKET_SERVER_IP' => '127.0.0.1', 'WEBSOCKET_SERVER_PORT' => '8443', 'CRT_PATH' => '', 'KEY_PATH' => '', 'CA_PATH' => '', 'DBENVIRONMENT' => DBENVIRONMENT, 'IF_SSL' => 'false' ); } if(DBENVIRONMENT == 'production'){ $db['default'] = array( 'dsn' => '', 'hostname' => 'dreamguysall.cuxwylsharex.eu-west-2.rds.amazonaws.com', 'username' => 'truelysell', 'password' => 'Dreams@99', 'database' => 'truelysell', 'dbdriver' => 'mysqli', 'dbprefix' => '', 'pconnect' => FALSE, 'db_debug' => FALSE, 'cache_on' => FALSE, 'cachedir' => '', 'char_set' => 'utf8', 'dbcollat' => 'utf8_general_ci', 'swap_pre' => '', 'encrypt' => FALSE, 'compress' => FALSE, 'stricton' => FALSE, 'failover' => array(), 'save_queries' => TRUE, 'WS' => 'wss', 'WEBSOCKET_SERVER_IP' => 'truelysell.dreamguystech.com', 'WEBSOCKET_SERVER_PORT' => '8443', 'CRT_PATH' => '', 'KEY_PATH' => '', 'CA_PATH' => '', 'DBENVIRONMENT' => DBENVIRONMENT, 'IF_SSL' => 'true' ); }