Can I run mysql query in constant.php file to make constant dynamic |
question could be funky, can I run mysql query into application/config/constant.php file to make constant dynamic or any proper way to make constant dynamic based on value coming from db.
Amjad Farooq,
Skype: shahgeb cell: +923444553686
@shaheb
https://www.codeigniter.com/user_guide/l...fig%20item Look for the topic "Setting a Config Item"
I just did something similar in routes for Open Blog.
Feel free to look/borrow code/try it out. https://github.com/enlivenapp/Open-Blog-...209b394961 |
Welcome Guest, Not a member yet? Register Sign In |