-
Notifications
You must be signed in to change notification settings - Fork 5
/
load_tundra.php
40 lines (34 loc) · 1.71 KB
/
load_tundra.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?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'];
$font=$_GET['font'];
$bits=$_GET['bits'];
$input=sanitize_input($input);
@load_tundra(ANSILOVE_FILES_DIRECTORY.$input,online,$font,$bits)
?>