diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2019-11-17 20:45:02 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2019-11-17 20:45:02 +0100 |
commit | 8df3db566a3a937b45ebf11adb90d265e6f5e2d4 (patch) | |
tree | 4d541098d751d5a9acf8c12f6fb9f308ace066ac /tests/bootstrap.php | |
download | flyspray-8df3db566a3a937b45ebf11adb90d265e6f5e2d4.tar.xz |
initial checking of customized version 1.0rc9
Diffstat (limited to 'tests/bootstrap.php')
-rw-r--r-- | tests/bootstrap.php | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/bootstrap.php b/tests/bootstrap.php new file mode 100644 index 0000000..287a16b --- /dev/null +++ b/tests/bootstrap.php @@ -0,0 +1,19 @@ +<?php +/* +function loader($class) { + $file = $class . '.php'; + if (file_exists($file)) { + require $file; + } +} + +spl_autoload_register('loader'); +*/ + +define('IN_FS', true); # for passing some checks in Flyspray files + +if(is_readable('vendor/autoload.php')){ + // Use composer autoloader + require 'vendor/autoload.php'; +} +?> |