X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=blobdiff_plain;f=application%2Flibraries%2FSingleton_db.php;h=83ec855079dd76cac1e45f0830be64ce4ddc81e1;hb=42b8f76ab32990f2668a4e3346374de7bad91be2;hp=e9c44c7f8bad287f9ff5b60a4fd4b8a4590fa113;hpb=0b134deb6f1108155973436e3de7296a76a2d660;p=living-lab-site.git diff --git a/application/libraries/Singleton_db.php b/application/libraries/Singleton_db.php index e9c44c7..83ec855 100644 --- a/application/libraries/Singleton_db.php +++ b/application/libraries/Singleton_db.php @@ -7,7 +7,7 @@ * This avoids opening multiple connections to the same database and ensures * that you obtain a Database object only when you need it. * - * @category Controller + * @category Library * @author Călin-Andrei Burloiu */ class Singleton_db { @@ -22,7 +22,7 @@ class Singleton_db { { if(!isset(self::$db)) { - $CI = & get_instance(); + $CI =& get_instance(); self::$db = $CI->load->database('default', TRUE); }