代码拉取完成,页面将自动刷新
<?php
require_once './vendor/autoload.php';
/**
* RockMongo startup
*
* In here we define some default settings and start the configuration files
* @package rockmongo
*/
/**
* Defining version number and enabling error reporting
*/
define("ROCK_MONGO_VERSION", "1.1.8");
error_reporting(E_ALL);
/**
* Environment detection
*/
if (!version_compare(PHP_VERSION, "5.0")) {
exit("To make things right, you must install PHP5");
}
if (!class_exists("Mongo") && !class_exists("MongoClient")) {
exit("To make things right, you must install php_mongo module. <a href=\"http://www.php.net/manual/en/mongo.installation.php\" target=\"_blank\">Here for installation documents on PHP.net.</a>");
}
// enforce Mongo support for int64 data type (Kyryl Bilokurov <[email protected]>)
if (PHP_INT_SIZE == 8) {
ini_set("mongo.native_long", 1);
ini_set("mongo.long_as_object", 1);
}
/**
* Initializing configuration files and RockMongo
*/
require "config.php";
require "rock.php";
rock_check_version();
rock_init_lang();
rock_init_plugins();
Rock::start();
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。