Permalink
Browse files

Fixed PHPRC env. variable being set

  • Loading branch information...
1 parent f6c4a72 commit e8e7938490a0352e0dd4967ebfcd76e918b87415 @shoghicp shoghicp committed Jan 13, 2015
Showing with 3 additions and 0 deletions.
  1. +2 −0 start.cmd
  2. +1 −0 start.sh
View
@@ -1,7 +1,9 @@
@echo off
TITLE PocketMine-MP server software for Minecraft: Pocket Edition
cd /d %~dp0
+
if exist bin\php\php.exe (
+ set PHPRC=""
set PHP_BINARY=bin\php\php.exe
) else (
set PHP_BINARY=php
View
@@ -23,6 +23,7 @@ done
if [ "$PHP_BINARY" == "" ]; then
if [ -f ./bin/php5/bin/php ]; then
+ export PHPRC=""
PHP_BINARY="./bin/php5/bin/php"
elif [ type php 2>/dev/null ]; then
PHP_BINARY=$(type -p php)

0 comments on commit e8e7938

Please sign in to comment.