spot7.org logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML Categories
  Home » CODEIGNITER » Page 1
how to fix error reporting in codeigniter 1.7.2 for live
Look at index.php in the root of the project. If you plan on setting it up for the production environment (i.e. disable the error reporting) then set the environment to production. define('ENVIRONMENT', 'production'); You can also make changes to the error_reporting settings yourself in the same file if (defined('ENVIRONMENT')) { switch (ENVIRONMENT) { case 'development':

Categories : Codeigniter

Codeigniter - set data to controller variable from within a model
To be able to access a property of the currently loaded controller from within a model in CI you'll need to do the following: either in your Models specific method or within its constructor put: $this->CI = & get_instance(); Then say you'll be able access your debug_data with: $this->CI->debug_data; Hope this helps!

Categories : Codeigniter

How to clear the cache after user log out from website in codeigniter
After destroying the session use $this->cache->clean(); for details check this out

Categories : Codeigniter


Recently Add
checkbox selected in codeigniter
how to fix error reporting in codeigniter 1.7.2 for live
Codeigniter - set data to controller variable from within a model
How to clear the cache after user log out from website in codeigniter
© Copyright 2017 spot7.org Publishing Limited. All rights reserved.