On Thu, 9 Apr 2009, Mark Smith wrote:
> I can trigger the front end by running "php web\index.php"
>
> But if I try and specify a module name I get an error:
>
> php web\index.php/Test
> Could not open input file: web\index.php/Test
Seems like you are mixing a pathname with a URL.
If you want
I'm pondering what the action does ? you should take a look at tasks ...
Kr,
Jan
alvaro schreef:
> use in a script:
>
> sfContext::getInstance()->getController()->forward($module, $action);
>
> instead of a call to dispatch()
>
>
> On Apr 9, 2009, at 11:38 PM, Mark Smith wrote:
>
>
>> I've st
use in a script:
sfContext::getInstance()->getController()->forward($module, $action);
instead of a call to dispatch()
On Apr 9, 2009, at 11:38 PM, Mark Smith wrote:
>
> I've stepped through with the debugger, and it seems to be set in the
> dispatch method of the controller:
>
> $module
I've stepped through with the debugger, and it seems to be set in the
dispatch method of the controller:
$moduleName = $request->getParameter('module');
$actionName = $request->getParameter('action');
So I guess my original question boils down to a more general php
question: How do y
We have a CLI that we run and we store it into the batch directory. At the
start we define a few things to help this seperate, CLI run, PHP script
initialise into the environment:
define('SF_ROOT_DIR',realpath(dirname(__FILE__).'/..'));
define('SF_APP', 'frontend');
define('SF_ENVIRONM