I can use this Sigleton? |
(models) User_model.php:
PHP Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); (helpers) user_helper.php: PHP Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); Or must I use get_instance (); ? |
Messages In This Thread |
I can use this Sigleton? - by adrianolmedo - 04-12-2016, 09:12 AM
RE: I can use this Sigleton? - by wishmaster - 04-19-2016, 07:40 AM
|