reference the config file without relying on working directory

This commit is contained in:
Daniel Winzen committed 2020-10-15 21:31:28 +02:00
1 parent e61be13015
commit 1827382524
16 files changed
+16 -16

No files matched your search

+1 -1
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}';
send_headers([$style]);
echo '<!DOCTYPE html><html><head>';