Some unimportant late-night fixups

This commit is contained in:
Jeroen De Meerleer 2019-09-28 00:52:43 +02:00
parent aa56e3c5c6
commit 766fe6ceef
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6

10
dist/template.php vendored
View File

@ -4,9 +4,9 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>The HTML5 Herald</title> <title>My tournament</title>
<meta name="description" content="Libpairtwo"> <meta name="description" content="Libpairtwo">
<meta name="author" content="The clubclub"> <meta name="author" content="The chessclub">
<link rel="stylesheet" href="css/styles.css"> <link rel="stylesheet" href="css/styles.css">
@ -19,11 +19,9 @@ use JeroenED\Libpairtwo\IOFactory;
require_once 'vendor/autoload.php'; require_once 'vendor/autoload.php';
// EDIT ME! // EDIT ME!
$pairingfile = 'your pairing-file.sws'; $pairingfile = 'your pairing-file.swar';
$fileformat = 'Pairtwo-6'; // Possible values: Pairtwo-5, Pairtwo-6, Swar-4 $fileformat = 'Swar-4'; // Possible values: Pairtwo-5, Pairtwo-6, Swar-4
if (!file_exists($pairingfile)) { if (!file_exists($pairingfile)) {
trigger_error('Your file is not set or doesn\'t exist! Edit the file: ' . __FILE__ . ' and try again', E_USER_ERROR); trigger_error('Your file is not set or doesn\'t exist! Edit the file: ' . __FILE__ . ' and try again', E_USER_ERROR);