Skip to content
This repository has been archived by the owner on Dec 28, 2021. It is now read-only.

Commit

Permalink
don't require all files so having Net_Server installed is optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Olbrich committed Sep 5, 2011
1 parent 24505a7 commit 37173cd
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions lib/Cucumber.php
Expand Up @@ -5,10 +5,12 @@
*/

/**
* load all php files in this directory
* load all php files except the forking server in this directory
* Note: If you require the forking server, it will fail unless pear/Net_Server is installed
*/
foreach (glob(dirname(__FILE__) . "/*.php") as $sFilename) {
require_once $sFilename;
}

require_once dirname(__FILE__) . "/CucumberScenario.php";
require_once dirname(__FILE__) . "/CucumberSteps.php";
require_once dirname(__FILE__) . "/Cuke4php.php";

?>

0 comments on commit 37173cd

Please sign in to comment.