index : flyspray | |
Archlinux32 customized Flyspray installation | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2020-02-01 09:05:48 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2020-02-01 09:05:48 +0100 |
commit | 6854cb3f4d8219cf1829e32122eb2502a916eae9 (patch) | |
tree | 350feb504587d932e02837a1442b059759927646 /tests/bootstrap.php |
-rw-r--r-- | tests/bootstrap.php | 19 |
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'; +} +?> |