diff --git a/index.php b/index.php index ae90bba..bee5f0e 100644 --- a/index.php +++ b/index.php @@ -2,5 +2,5 @@ header('Content-Type: text/plain; version=0.0.4'); $config = getenv('CONFIG_FILE'); $phpbin = getenv('PHP_BINARY'); -$output = shell_exec('CONFIG_FILE="' . $config . '" ' . $phpbin . ' script.php'); +$output = shell_exec('CONFIG_FILE="' . $config . '" ' . $phpbin . ' ' . $_SERVER['DOCUMENT_ROOT'] . 'script.php'); echo $output;