Load custom settings from database in all pages |
[eluser]CroNiX[/eluser]
Lots of ways really. You could create a library with the __contsruct accessing it from the db and just autoload it. You could also create a MY_Controller and have your other controllers extend MY_Controller. Same thing, the __construct would access the db, so it would be available to all controllers. |
Messages In This Thread |
Load custom settings from database in all pages - by El Forum - 08-10-2014, 07:03 AM
Load custom settings from database in all pages - by El Forum - 08-10-2014, 07:26 AM
Load custom settings from database in all pages - by El Forum - 08-10-2014, 09:47 AM
Load custom settings from database in all pages - by El Forum - 08-10-2014, 10:57 AM
Load custom settings from database in all pages - by El Forum - 08-10-2014, 11:16 AM
|