// | | // +-------------------------------------------------------------------+ /** * @package WiFiDogAuthServer * @author Benoit Grégoire <*****@*****.**> * @copyright 2004-2006 Benoit Grégoire, Technologies Coeus inc. * @version Subversion $Id: SmartyWifidog.php 1421 2009-09-25 15:50:09Z benoitg $ * @link http://www.wifidog.org/ */ /** * Load required classes */ require_once "classes/WifidogLocale.php"; require_once "classes/Utils.php"; // Check if all mandatory components (such as Smarty) installed, if not redirect user to web-base installation if (Dependency::checkMandatoryComponents($errmsg)) { // Load Smarty library require_once SMARTY_PATH . 'Smarty.class.php'; } else { // Build the system_path for the auth-server print "Redirecting to Wifidog web-based install script since a mandatory Dependency is missing (Error was: {$errmsg})<META HTTP-EQUIV=Refresh CONTENT=\"5; URL=" . BASE_URL_PATH . "/install.php\">"; exit; } require_once "include/smarty.resource.string.php"; /* * Smarty plugin * ------------------------------------------------------------- * Type: modifier * Name: fsize_format * Version: 0.2 * Date: 2003-05-15