Totally Zenned
- Join Date:
- Mar 2006
- Posts:
- 909
- Plugin Contributions:
- 1
Use ZC defines in external file...
Ok, I hope that the title of this topic makes sense!
Basically, I have a file at the root of my site, which (when runs) updates various stock properties.
In this file I would like to reference DB_SERVER in my code. I have only been able to do this successfully if I add the following line of code to my file.
require('includes/application_top.php');
Now, my question is, have I done this correctly? Also, do I need to add the following?
require('includes/application_bottom.php');
My Contributions: Zen Lightbox | Best Sellers Reloaded