you cant print anything when you using global.php
no metter what you will do
so right you placed it in top of global.php , after the file runned its shout its down
cuse this is the way global works
no metter what you will try to do
unless you will use the die(); function
which stop the file runing.
if you need to get all info use global
and instead of echo use template functions and put all vars in template
this is the best solution you can get
|