22402 Posts in 6882 Topics by 2748 members
|Go to End|
5 January 2009 at 4:34am Last edited: 5 January 2009 4:36am
I have one problem. I want to add session to file that doesn't belong to silver stripe. For example I have a file called file.php in folder placed near siler stripe folders mysite, sapphire, themes and so on. I want to use - Session::get("variable") in my file.php. I tried to include Session.php, Controller.php, but i can't get my session variable. I get Fatal error: Class 'Session' not found in /xxx/xxx/xxx/xxx/public_html/gui/file.php on line 3
5 January 2009 at 3:37pm
Your path to Session.php must be incorrect. What does your directory structure look like?
|Go to Top|