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