#!/usr/local/bin/php
<?php
/**
 * @brief		UTF-8 Conversion
 *
 * @copyright	(c) 2001 - 2016 Invision Power Services, Inc.
 *
 * @package		IPS Tools
 * @since		4 Sept 2013
 * @version		SVN_VERSION_NUMBER
 */


require_once 'init.php';

if ( IS_CLI )
{
	\IPSUtf8\Dispatcher\Cli::i()->run();
}
else
{
	print "<html><head><title>Warning</title></head>\n";
    print "<body style='text-align:center'>\n";
    print "This script is meant to be run via command line<br />\n";
    print "More information:<br />\n";
    print "<a href=\"http://www.google.com/search?hl=en&q=php+cli+windows\" target=\"_blank\">http://www.google.com/search?hl=en&q=php+cli+windows</a><br />\n";
    print "This script will not run through a webserver.<br />\n";
    print "</body></html>\n";
    exit();

}

exit();
