1
0
mirror of https://github.com/maximebf/php-debugbar.git synced 2025-06-11 00:21:16 +02:00
Files
php-debugbar/demo/bridge/slim/index.php
Graham Campbell 0071105c25 CS fixes
2014-01-16 21:41:41 +00:00

17 lines
374 B
PHP

<?php
include __DIR__ . '/vendor/autoload.php';
include __DIR__ . '/../../bootstrap.php';
$debugbarRenderer->setBaseUrl('../../../src/DebugBar/Resources');
$app = new \Slim\Slim();
$app->get('/', function () use ($app) {
$app->getLog()->info('hello world');
render_demo_page();
});
$debugbar->addCollector(new DebugBar\Bridge\SlimCollector($app));
$app->run();