-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- renamed examples/tests to examples/input
- debugged tests/ExampleTest.php - added instructions for running unit tests to doc/ConfigManually.md
- Loading branch information
1 parent
3d79f5d
commit b44c1ab
Showing
11 changed files
with
43 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
<?php | ||
require_once '../examples/config/config.php'; | ||
|
||
require_once '../src/fitshelf/ClassLoader.php'; | ||
require_once 'PHPFIT.php'; | ||
|
||
$loader = new fitshelf\ClassLoader(); | ||
$loader->setSpaceMap($fitConfig->nameSpacedMap); | ||
$loader->registerAutoLoad(); | ||
if (!class_exists('PHPFIT')) { | ||
$fitConfig->nameSpacedMap[''] = '../examples/src'; | ||
$fitConfig->output = '../examples/'. $fitConfig->output; | ||
|
||
require_once '../src/fitshelf/ClassLoader.php'; | ||
require_once 'PHPFIT.php'; | ||
|
||
$loader = new fitshelf\ClassLoader(); | ||
$loader->setSpaceMap($fitConfig->nameSpacedMap); | ||
$loader->registerAutoLoad(); | ||
} | ||
|
||
?> |