Permalink
Browse files

changed the database connections to disabled the db_debug

  • Loading branch information...
1 parent 8e65725 commit 927b7ad1a4878f7dd7b258228a63a948fd1bbccf Alvin committed Sep 29, 2012
View
55 CI_AutoComplete/CI_Autocomplete_2.0.php
@@ -1,55 +0,0 @@
-<?php
-
-/**
-* @property CI_DB_active_record $db
-* @property CI_DB_forge $dbforge
-* @property CI_Benchmark $benchmark
-* @property CI_Calendar $calendar
-* @property CI_Cart $cart
-* @property CI_Config $config
-* @property CI_Controller $controller
-* @property CI_Email $email
-* @property CI_Encrypt $encrypt
-* @property CI_Exceptions $exceptions
-* @property CI_Form_validation $form_validation
-* @property CI_Ftp $ftp
-* @property CI_Hooks $hooks
-* @property CI_Image_lib $image_lib
-* @property CI_Input $input
-* @property CI_Language $language
-* @property CI_Loader $load
-* @property CI_Log $log
-* @property CI_Model $model
-* @property CI_Output $output
-* @property CI_Pagination $pagination
-* @property CI_Parser $parser
-* @property CI_Profiler $profiler
-* @property CI_Router $router
-* @property CI_Session $session
-* @property CI_Sha1 $sha1
-* @property CI_Table $table
-* @property CI_Trackback $trackback
-* @property CI_Typography $typography
-* @property CI_Unit_test $unit_test
-* @property CI_Upload $upload
-* @property CI_URI $uri
-* @property CI_User_agent $user_agent
-* @property CI_Validation $validation
-* @property CI_Xmlrpc $xmlrpc
-* @property CI_Xmlrpcs $xmlrpcs
-* @property CI_Zip $zip
-*/
-
-class CI_Controller {};
-
-/**
-* @property CI_DB_active_record $db
-* @property CI_DB_forge $dbforge
-* @property CI_Config $config
-* @property CI_Loader $load
-* @property CI_Session $session
-*/
-
-class CI_Model {};
-
-?>
View
2 application/config/database.php
@@ -55,7 +55,7 @@
$db['default']['dbdriver'] = 'mysql';
$db['default']['dbprefix'] = '';
$db['default']['pconnect'] = TRUE;
-$db['default']['db_debug'] = TRUE;
+$db['default']['db_debug'] = FALSE;
$db['default']['cache_on'] = FALSE;
$db['default']['cachedir'] = '';
$db['default']['char_set'] = 'utf8';
View
3 application/controllers/dashboard.php
@@ -9,11 +9,10 @@
*/
class Dashboard extends CI_Controller {
-
+
public function index() {
$data['main_content'] = 'dashboard';
$this->load->view('includes/template', $data);
-
}
}

0 comments on commit 927b7ad

Please sign in to comment.