urls->index)) { $kirby->urls->index = dirname($kirby->url()); } // the default index directory if(!isset($kirby->roots->index)) { $kirby->roots->index = $index; } // the default avatar directory if(!isset($kirby->roots->avatars)) { $kirby->roots->avatars = $index . DS . 'assets' . DS . 'avatars'; } // the default thumbs directory if(!isset($kirby->roots->thumbs)) { $kirby->roots->thumbs = $index . DS . 'thumbs'; } try { // create the panel object $panel = new Panel($kirby, __DIR__); // launch the panel echo $panel->launch(); } catch(Exception $e) { echo Panel::fatal($e, __DIR__); }