I am using this class:
<?php
class Decrypt extends CI_Controller
{
public function decrypt1($toDescrypt="")
{
$this->load->library('encrypt');
$toDescrypt = urldecode($toDescrypt);
$s=unserialize($this->encrypt->decode($toDescrypt));
echo $s["username"];
}
}
?>
And I am using auto load feature for database. My config file:
$autoload['libraries'] = array('database','session');
But you can see I am not using database in decrypt1
method. Will codeigniter connect to database even i don't use the database operation?