Hi!
I need add an external php file. I don't knew where to add this file so I put in assets.
then in my Page.php I try to recall in my function but I have this error:
Page_Controller::require_once() [function.require]: Failed opening required 'assets/resize.php' (include_path='.;c:\php\pear;E:\_silverstripe_cms\prova\auth_openid\code;E:/_silverstripe_cms/prova/sapphire/parsers/') in E:\_silverstripe_cms\prova\mysite\code\Page.php on line 35
class Page_Controller extends ContentController {
function a()
{ require_once("assets/resize.php"); }