fix PHP_EXECUTABLE declaration not being properly overriden in config.php (closes #296)

This commit is contained in:
Andrew Dolgov 2011-01-11 11:31:21 +03:00
parent 80dce75e1e
commit 86268d8ba0

View file

@ -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") {