reference the config file without relying on working directory

This commit is contained in:
Daniel Winzen
2020-10-15 21:29:49 +02:00
parent e61be13015
commit 1827382524
16 changed files with 16 additions and 16 deletions

View File

@ -1,5 +1,5 @@
<?php
require_once('../common_config.php');
require_once(__DIR__.'/../common_config.php');
$style = '.red{color:red} .green{color:green} .software-link{text-align:center;font-size:small}';
send_headers([$style]);
try{