Permalink
Browse files

don't require all files so having Net_Server installed is optional

  • Loading branch information...
1 parent 24505a7 commit 37173cd8d2e9d0c73952b90a2c5f5f6042a5cfa2 Kevin Olbrich committed Sep 5, 2011
Showing with 6 additions and 4 deletions.
  1. +6 −4 lib/Cucumber.php
View
@@ -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.