Location: PHPKode > projects > PHP-Fusion: Guestbook > inf_guestbook_v4.12/files/infusions/guest_book/includes/check_version.php
<?php
/*-------------------------------------------------------+
| Guestbook Infusion 4.12
| Author: Sebastian Schüssler (slaughter)
| Download:
| http://basti2web.de
+--------------------------------------------------------+
| Filename: check_version.php
| Version: 4.12
| Author: Sebastian Schüssler (slaughter)
+--------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2008 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/

if (!defined("IN_FUSION")) { die("Access Denied"); }

// CMS Version Checker for switch();
if(!defined('UCC_PHPF_VER')) {
		// PHP-Fusion v6/v7
		$numbers = explode('.', $settings['version']);
		$version = intval(array_shift($numbers));
		// BS-Fusion v1
		if(defined('BS_GLOBAL_KEY')) $version = "BSF";
		// define
		define('UCC_PHPF_VER', $version);
}

?>
Return current item: PHP-Fusion: Guestbook