Minor - comment unused code, format code

pull/2487/head
jmontoyaa 7 years ago
parent 70319351e4
commit 5b20029521
  1. 3
      public/legacy.php
  2. 3
      src/Kernel.php

@ -1,8 +1,6 @@
<?php
/* For licensing terms, see /license.txt */
//define('USERNAME_MAX_LENGTH', 40);
require_once __DIR__.'/../main/inc/lib/api.lib.php';
require_once __DIR__.'/../main/inc/lib/array.lib.php';
require_once __DIR__.'/../main/inc/lib/database.constants.inc.php';
@ -13,3 +11,4 @@ require_once __DIR__.'/../main/inc/lib/online.inc.php';
require_once __DIR__.'/../main/inc/lib/fileManage.lib.php';
require_once __DIR__.'/../main/inc/lib/fileUpload.lib.php';
require_once __DIR__.'/../main/inc/lib/fileDisplay.lib.php';

@ -156,6 +156,9 @@ class Kernel extends BaseKernel
return !empty($this->getContainer()->getParameter('installed'));
}
/**
* @return string
*/
public function getUrlAppend()
{
return $this->getContainer()->getParameter('url_append');

Loading…
Cancel
Save