[dev] Little question
Etienne Goyer
etienne.goyer at linuxquebec.com
Tue Sep 23 12:12:30 PDT 2003
A stupid question, but I am stuck on that right now : I do import the
$imp variable (defined in imp/lib/Session.php, and used everywhere in
imp/) in my namespace ? I am trying to access it from
imp/lib/Block/summary.php. I can access it as $_SESSION['imp'], but
"global $imp;" or "require_once IMP_BASE . '/lib/Session.php';" do not
work. I could just "$imp = $_SESSION['imp'];", but this look wrong to
me.
--
Etienne Goyer Linux Québec Technologies Inc.
http://www.LinuxQuebec.com etienne.goyer at linuxquebec.com
More information about the dev
mailing list