Welcome Guest, Not a member yet? Register   Sign In
Common constants file for multiple projects
#5

(05-23-2016, 07:54 AM)InsiteFX Wrote: Try it this way and see if autoload will work:

PHP Code:
include_once(APPPATH."config/constantes_globales.php"); 

This means that index.php has to run before calling the include file.

I guess my code does run after the index.php because I placed the include in the constant files and the constant files load after the index file right?
Reply


Messages In This Thread
RE: Common constants file for multiple projects - by slipdiegoknot - 05-23-2016, 08:00 AM



Theme © iAndrew 2016 - Forum software by © MyBB