22850 Posts in 9874 Topics by 2803 members
|Go to End|
6 August 2011 at 12:46am
Hi again Silverstripe community
I've been getting some help from a friend on something I'm trying but my friend has told me to call the function from the file he gave me.
Can someone tell me how to call the function from a php file in Silverstripe?
6 August 2011 at 6:53am
This one potentially really simple. Put the project.php into your mysite/code and do a dev/build?flush=all to rebuild the manifest. You may need to tweak the name of the file or the class in it to fit into the SS namespace. Then you don't even need to use require_once its just available.
17 August 2011 at 12:54am
|Go to Top|