1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 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'; } ?>