PHP 7.4.33
Preview: index.php Size: 859 B
/var/www/podiomigration.bitkit.dk/httpdocs/public/index.php
<?php

// Start session
session_start();


// Suppress all deprecation and notice warnings
error_reporting(E_ALL & ~E_DEPRECATED & ~E_NOTICE & ~E_USER_DEPRECATED);
ini_set('display_errors', '0');

if (PHP_SAPI == 'cli-server') {
    // To help the built-in PHP dev server, check if the request was actually for
    // something which should probably be served as a static file
    $url = parse_url($_SERVER['REQUEST_URI']);
    $file = __DIR__ . $url['path'];
    if (is_file($file)) {
        return false;
    }
}

// Autoload dependencies
require __DIR__ . '/../vendor/autoload.php';

// Create Slim app
$app = new \App\App;

// Register service provider with the container
$app->add(new \Slim\HttpCache\Cache('public', 86400));

// Load routes
require __DIR__ . '/../src/routes.php';

// Run the application
$app->run();

Directory Contents

Dirs: 2 × Files: 4
Name Size Perms Modified Actions
assets DIR
- drwxrwxr-x 2026-05-12 18:32:35
Edit Download
- drwxrwxr-x 2019-06-04 12:06:18
Edit Download
331 B lrwxrwxr-x 2026-04-30 04:00:18
Edit Download
859 B lrwxrwxr-x 2025-04-22 04:42:40
Edit Download
17 B lrwxrwxr-x 2025-11-21 08:28:14
Edit Download
3 B lrw-r--r-- 2023-12-05 07:13:13
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).