Skip to content

Commit

Permalink
ensure STDERR is defined in health check. fixes #15
Browse files Browse the repository at this point in the history
  • Loading branch information
splitbrain committed Aug 26, 2024
1 parent e4403b0 commit 675e2c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion root/var/www/html/health.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<?php

if (!defined('STDERR')) define('STDERR', fopen('php://stderr', 'w')); // see dokuwiki/docker#15
define('DOKU_UNITTEST', 1);
if(!defined('DOKU_INC')) define('DOKU_INC', __DIR__ . '/');
if (!defined('DOKU_INC')) define('DOKU_INC', __DIR__ . '/');

header('Content-Type: text/plain; charset=utf-8');
try {
Expand Down

0 comments on commit 675e2c8

Please sign in to comment.