Skip to content

Commit

Permalink
Fix: Run 'make coding-standards'
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Dec 7, 2023
1 parent f78ea72 commit f5d1a2e
Show file tree
Hide file tree
Showing 450 changed files with 1,806 additions and 1,806 deletions.
8 changes: 4 additions & 4 deletions .router.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php

$_SERVER["SERVER_ADDR"] = $_SERVER["HTTP_HOST"];
$_SERVER['SERVER_ADDR'] = $_SERVER['HTTP_HOST'];

$filename = $_SERVER["PATH_INFO"] ?? $_SERVER["SCRIPT_NAME"];
$filename = $_SERVER['PATH_INFO'] ?? $_SERVER['SCRIPT_NAME'];

if (!file_exists($_SERVER["DOCUMENT_ROOT"] . $filename)) {
if (!file_exists($_SERVER['DOCUMENT_ROOT'] . $filename)) {
require_once __DIR__ . '/error.php';

return;
}

/* This could be an image or whatever, so don't try to compress it */
ini_set("zlib.output_compression", 0);
ini_set('zlib.output_compression', 0);
return false;
Loading

0 comments on commit f5d1a2e

Please sign in to comment.