index : flyspray | |
Archlinux32 customized Flyspray installation | gitolite user |
summaryrefslogtreecommitdiff |
-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'; +} +?> |