Skip to content

Commit

Permalink
changes in the kpTraffic Raabta dashboard as part of the Hack Day org…
Browse files Browse the repository at this point in the history
…anized in KP Traffic Headquarters
  • Loading branch information
mubassirhayat committed Feb 13, 2018
1 parent fde78fa commit 487603d
Show file tree
Hide file tree
Showing 57 changed files with 8,504 additions and 6,907 deletions.
9 changes: 5 additions & 4 deletions teamTrafficWebApp/application/config/config.php
Expand Up @@ -23,9 +23,9 @@
| a PHP script and you can easily do that on your own.
|
*/
/*$config['base_url'] = 'http://103.240.220.76/kptraffic/'; */
// $config['base_url'] = 'http://103.240.220.76/kptraffic/';

$config['base_url'] = 'http://localhost/kp-traffic-police/';
$config['base_url'] = 'http://localhost/traffics/';

/*
|--------------------------------------------------------------------------
Expand Down Expand Up @@ -54,7 +54,7 @@
|
| WARNING: If you set this to 'PATH_INFO', URIs will always be URL-decoded!
*/
$config['uri_protocol'] = 'REQUEST_URI';
$config['uri_protocol'] = "REQUEST_URI";

/*
|--------------------------------------------------------------------------
Expand Down Expand Up @@ -372,7 +372,8 @@
$config['sess_driver'] = 'files';
$config['sess_cookie_name'] = 'ci_session';
$config['sess_expiration'] = 7200;
$config['sess_save_path'] = sys_get_temp_dir();
// $config['sess_save_path'] = sys_get_temp_dir();
$config['sess_save_path'] = '/tmp';
$config['sess_match_ip'] = FALSE;
$config['sess_time_to_update'] = 300;
$config['sess_regenerate_destroy'] = FALSE;
Expand Down
14 changes: 7 additions & 7 deletions teamTrafficWebApp/application/config/database.php
Expand Up @@ -75,7 +75,7 @@
*/
$active_group = 'default';
$query_builder = TRUE;
$db['default'] = array(
/*$db['default'] = array(
'dsn' => '',
'hostname' => 'localhost',
'username' => 'root',
Expand All @@ -95,13 +95,13 @@
'stricton' => FALSE,
'failover' => array(),
'save_queries' => TRUE
);
/*$db['default'] = array(
);*/
$db['default'] = array(
'dsn' => '',
'hostname' => 'localhost',
'username' => 'www_kptraffic',
'password' => 'lmp#$34@#kt62',
'database' => 'kptraffic_db',
'username' => 'root',
'password' => '',
'database' => 'traffic',
'dbdriver' => 'mysqli',
'dbprefix' => '',
'pconnect' => FALSE,
Expand All @@ -116,4 +116,4 @@
'stricton' => FALSE,
'failover' => array(),
'save_queries' => TRUE
);*/
);
2 changes: 1 addition & 1 deletion teamTrafficWebApp/application/config/routes.php
Expand Up @@ -49,7 +49,7 @@
| Examples: my-controller/index -> my_controller/index
| my-controller/my-method -> my_controller/my_method
*/
$route['default_controller'] = 'login';
$route['default_controller'] = 'Admin';
$route['404_override'] = '';
$route['translate_uri_dashes'] = TRUE;

Expand Down

0 comments on commit 487603d

Please sign in to comment.