forked from DivisionRaiD/Server-Banners
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.php
More file actions
37 lines (27 loc) · 1.08 KB
/
index.php
File metadata and controls
37 lines (27 loc) · 1.08 KB
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
<?php
//------------------------------------------------------------------------------------------------------------+
//
// Name: Server Banners
//
// Description: Server banner code for various types of games.
//
// Initial author: momo5502 <MauriceHeumann@googlemail.com>
//
//------------------------------------------------------------------------------------------------------------+
ini_set('display_errors', 'on');
error_reporting(E_ALL ^ E_NOTICE);
define( "BANNER_CALL", TRUE );
//------------------------------------------------------------------------------------------------------------+
include( 'code/core.php' );
startDebugLog();
if ( !isToDebug() )
header( "Content-Type: image/png" );
$_game = NULL;
$root = "images/"; // Folder where to get the images
$font = "fonts/font.ttf"; // Font file for the name
$f_inf = "fonts/contl.ttf"; // Font file for the info
//$f_inf = $font; // Looks good on some servers, on others it doesn't :P
banner();
endDebugLog();
//------------------------------------------------------------------------------------------------------------+
?>