diff --git a/src/config.php b/src/config.php index d00996a9..cb9bfc8e 100644 --- a/src/config.php +++ b/src/config.php @@ -48,11 +48,11 @@ set_include_path(get_include_path() . PATH_SEPARATOR . FILE_PATH); ini_set("memory_limit", "256M"); //Default define("LOG", true); define("START_TIME", microtime(true)); -define("MAJOR_VERSION", "1.1.0dev"); +define("MAJOR_VERSION", "1.1.0beta1"); define("CODENAME", "懐かしさ (Nostalgia)"); //i'm not very creative - kotyaralih define("CURRENT_MINECRAFT_VERSION", "v0.8.1 alpha"); define("CURRENT_API_VERSION", '12.1'); -define("CURRENT_PHP_VERSION", "5.5"); +define("CURRENT_PHP_VERSION", "8.0"); $gitsha1 = false; if(file_exists(FILE_PATH . ".git/refs/heads/master")){ //Found Git information! define("GIT_COMMIT", strtolower(trim(file_get_contents(FILE_PATH . ".git/refs/heads/master")))); diff --git a/start.sh b/start.sh index 01e91a4d..e06f3f06 100644 --- a/start.sh +++ b/start.sh @@ -20,9 +20,9 @@ while getopts "p:f:l" OPTION 2> /dev/null; do done if [ "$PHP_BINARY" == "" ]; then - if [ -f ./bin/php5/bin/php ]; then + if [ -f ./bin/php7/bin/php ]; then export PHPRC="" - PHP_BINARY="./bin/php5/bin/php" + PHP_BINARY="./bin/php7/bin/php" elif [[ ! -z $(type php) ]]; then PHP_BINARY=$(type -p php) else