fix PHP_EXECUTABLE declaration not being properly overriden in config.php (closes #296)
This commit is contained in:
parent
80dce75e1e
commit
86268d8ba0
|
@ -2,15 +2,15 @@
|
|||
<?php
|
||||
define('DISABLE_SESSIONS', true);
|
||||
|
||||
if (!defined('PHP_EXECUTABLE'))
|
||||
define('PHP_EXECUTABLE', '/usr/bin/php');
|
||||
|
||||
require_once "functions.php";
|
||||
require_once "sanity_check.php";
|
||||
require_once "config.php";
|
||||
require_once "db.php";
|
||||
require_once "db-prefs.php";
|
||||
|
||||
if (!defined('PHP_EXECUTABLE'))
|
||||
define('PHP_EXECUTABLE', '/usr/bin/php');
|
||||
|
||||
$op = $argv[1];
|
||||
|
||||
if (!$op || $op == "-help") {
|
||||
|
|
Loading…
Reference in New Issue