comparison faptool.php @ 1076:659d41090592

Fix copyright.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 24 Jan 2017 18:01:13 +0200
parents 7da8bde9b7be
children 1f77195b4f95
comparison
equal deleted inserted replaced
1075:7e497188e4c6 1076:659d41090592
1 #!/usr/bin/php 1 #!/usr/bin/php
2 <?php 2 <?php
3 // 3 //
4 // FAPWeb - Simple Web-based Demoparty Management System 4 // FAPWeb - Simple Web-based Demoparty Management System
5 // Special entry/preview/etc backend management commandline utility 5 // Special entry/preview/etc backend management commandline utility
6 // (C) Copyright 2012-2017 Tecnic Software productions (TNSP) 6 // (C) Copyright 2014-2017 Tecnic Software productions (TNSP)
7 // 7 //
8 if (!file_exists(realpath(dirname(__FILE__))."/mconfig.inc.php")) 8 if (!file_exists(realpath(dirname(__FILE__))."/mconfig.inc.php"))
9 { 9 {
10 die( 10 die(
11 "ERROR: Missing site configuration file. Please copy ". 11 "ERROR: Missing site configuration file. Please copy ".
702 function wtShowHelp() 702 function wtShowHelp()
703 { 703 {
704 global $argv; 704 global $argv;
705 echo 705 echo
706 "faptool - Do stuff with FAPWeb database\n". 706 "faptool - Do stuff with FAPWeb database\n".
707 "(C) Copyright 2015 ccr/TNSP\n". 707 "(C) Copyright 2014-2017 ccr/TNSP\n".
708 "\n". 708 "\n".
709 "Usage: ".$argv[0]." <command> [args]\n". 709 "Usage: ".$argv[0]." <command> [args]\n".
710 "Where command is one of following:\n". 710 "Where command is one of following:\n".
711 "\n". 711 "\n".
712 " init\n". 712 " init\n".