Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bareos/bareos-webui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'public/index.php')
-rw-r--r--public/index.php25
1 files changed, 0 insertions, 25 deletions
diff --git a/public/index.php b/public/index.php
deleted file mode 100644
index b21c8da..0000000
--- a/public/index.php
+++ /dev/null
@@ -1,25 +0,0 @@
-<?php
-
-if ($_SERVER['APPLICATION_ENV'] == 'development') {
- error_reporting(E_ALL);
- ini_set("display_errors", 1);
- define('REQUEST_MICROTIME', microtime(true));
-}
-
-/**
- * This makes our life easier when dealing with paths. Everything is relative
- * to the application root now.
- */
-chdir(dirname(__DIR__));
-
-// Decline static file requests back to the PHP built-in webserver
-if (php_sapi_name() === 'cli-server' && is_file(__DIR__ . parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH))) {
- return false;
-}
-
-// Setup autoloading
-require 'init_autoloader.php';
-
-// Run the application!
-Zend\Mvc\Application::init(require 'config/application.config.php')->run();
-