Permalink
Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
40 lines (33 sloc) 1.68 KB
<?PHP
/*****************************************************************************/
/* ____ __ __ ___. __ __ _______._______ */
/* __\ \./ \| \. \ |_| \| |_/ \ | / _/ */
/* \___\__|__|\___|_____/___|____/____/\___/\____/plur */
/* */
/* Ansilove/PHP 1.12 */
/* Copyright (c) 2003-2017, Frederic Cambus */
/* https://www.ansilove.org */
/* */
/* Created: 2003-07-17 */
/* Last Updated: 2017-02-06 */
/* */
/* Ansilove is released under the BSD 2-Clause license. */
/* See LICENSE file for details. */
/* */
/*****************************************************************************/
error_reporting(E_ALL ^ E_NOTICE);
if (!@require_once(dirname(__FILE__).'/ansilove.php'))
{
echo "ERROR: Can't load Ansilove library.\n\n";
exit(-1);
}
if (!@require_once(dirname(__FILE__).'/ansilove.cfg.php'))
{
echo "ERROR: Can't load Ansilove configuration file.\n\n";
exit(-1);
}
$input=$_GET['input'];
$bits=$_GET['bits'];
$input=sanitize_input($input);
@load_adf(ANSILOVE_FILES_DIRECTORY.$input,online,$bits);
?>