Example #1
0
	/**
	 * Determines whether a server is running in production mode.
	 * @return bool
	 */
	public static function isProduction()
	{
		if (self::$productionMode === NULL) {
			self::$productionMode = NConfigurator::detectProductionMode();
		}
		return self::$productionMode;
	}