<?php | |
require_once(__DIR__.'/../vendor/autoload.php'); | |
$included = get_included_files(); | |
$app = new Silex\Application(); | |
$app->get('/', function() use($app, $included) { | |
$difference = array_diff(get_included_files(), $included); | |
$difference = array_values($difference); | |
return 'Hello World. <br /><pre>'.print_r($difference, true).'</pre>'; | |
}); | |
$app->run(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment