Skip to content

Instantly share code, notes, and snippets.

@bshaffer
Created October 17, 2010 01:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bshaffer/73812d2b7684e6ccff6c to your computer and use it in GitHub Desktop.
Save bshaffer/73812d2b7684e6ccff6c to your computer and use it in GitHub Desktop.
<?php
// handle --symfony_dir argument
$symfony = null;
foreach ($argv as $arg)
{
$params = explode('=', $arg);
if (isset($params[1]) && $params[0] == '--symfony_dir')
{
$symfony = $params[1];
break;
}
}
include dirname(__FILE__).'/../bootstrap/sfPluginTestBootstrap.class.php';
$bootstrap = new sfPluginTestBootstrap($symfony);
$bootstrap->bootstrap();
$bootstrap->run();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment