comparison managedb.php @ 1072:7da8bde9b7be

Bump copyrights.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 24 Jan 2017 17:51:48 +0200
parents 3c3a1dc4008a
children 48e16e856646
comparison
equal deleted inserted replaced
1071:76e11ae923a7 1072:7da8bde9b7be
1 #!/usr/bin/php 1 #!/usr/bin/php
2 <? 2 <?
3 // 3 //
4 // FAPWeb Database management utility 4 // FAPWeb Database management utility
5 // (C) Copyright 2012-2015 Tecnic Software productions (TNSP) 5 // (C) Copyright 2012-2017 Tecnic Software productions (TNSP)
6 // 6 //
7 if (!file_exists(realpath(dirname(__FILE__))."/mconfig.inc.php")) 7 if (!file_exists(realpath(dirname(__FILE__))."/mconfig.inc.php"))
8 { 8 {
9 die( 9 die(
10 "ERROR: Missing site configuration file. Please copy ". 10 "ERROR: Missing site configuration file. Please copy ".
358 // 358 //
359 if ($argc < 2) 359 if ($argc < 2)
360 { 360 {
361 echo 361 echo
362 "ManageDB - Manage FAPWeb SQL database\n". 362 "ManageDB - Manage FAPWeb SQL database\n".
363 "(C) Copyright 2012-2015 ccr/TNSP\n". 363 "(C) Copyright 2012-2017 ccr/TNSP\n".
364 "\n". 364 "\n".
365 "Usage: ".$argv[0]." <mode> [args]\n". 365 "Usage: ".$argv[0]." <mode> [args]\n".
366 "Where mode is one of following:\n". 366 "Where mode is one of following:\n".
367 "\n". 367 "\n".
368 " new <dbspec> Create a new database with given PDO spec\n". 368 " new <dbspec> Create a new database with given PDO spec\n".