From: Alexander M. <key...@us...> - 2003-07-16 11:51:44
|
CVSROOT : /cvsroot/publicdnsadmin Module : publicdnsadmin Commit time: 2003-07-16 11:51:40 UTC Modified files: dbbackup.php docs/CHANGELOG docs/TODO lib/config.php-dist lib/header.php Log message: Author: Alexander Maassen <out...@ke...> Log message: Updated TODO and CHANGELOG Fixed hostmaster entry in config More db_type fixes in dbbackup and header.inc ---------------------- diff included ---------------------- Index: publicdnsadmin/dbbackup.php diff -u publicdnsadmin/dbbackup.php:1.4 publicdnsadmin/dbbackup.php:1.5 --- publicdnsadmin/dbbackup.php:1.4 Tue Jul 15 19:33:08 2003 +++ publicdnsadmin/dbbackup.php Wed Jul 16 04:51:29 2003 @@ -18,7 +18,7 @@ $filename = "$path/data/lbdns-".$date.".sql"; $filesmall = "lbdns-".$date.".sql.gz"; - if ($database_type == mysql) { + if (db_type() == "mysql") { passthru("mysqldump --opt -h".$database_host." -u".$database_user." -r".$filename." ".$database_name); $zipline = "gzip -9 ".$filename.""; shell_exec($zipline); Index: publicdnsadmin/docs/CHANGELOG diff -u publicdnsadmin/docs/CHANGELOG:1.14 publicdnsadmin/docs/CHANGELOG:1.15 --- publicdnsadmin/docs/CHANGELOG:1.14 Thu Jun 19 06:47:48 2003 +++ publicdnsadmin/docs/CHANGELOG Wed Jul 16 04:51:30 2003 @@ -21,3 +21,11 @@ SiRVu|caN <sir...@si...> - 19/6/2003 - Version number added below the logo. SiRVu|caN <sir...@si...> - 19/6/2003 - Admins can now restrict signups. SiRVu|caN <sir...@si...> - 19/6/2003 - Added powered by images. +OUTsider <out...@ke...> - 16/7/2003 - Fixed several HTML missings + - Fixed double occurance of ns2port in config, one should have + been ns1port + - Added A6/NS6 records support + - Added support for postgres backup and changed the layout of it + - Updated postgres.sql to use the types as they are designed for. + - Did some work on db_types. + - Fixed hostmaster setting in config. Should use "." instead of "@" . Index: publicdnsadmin/docs/TODO diff -u publicdnsadmin/docs/TODO:1.5 publicdnsadmin/docs/TODO:1.6 --- publicdnsadmin/docs/TODO:1.5 Wed Jun 18 23:04:38 2003 +++ publicdnsadmin/docs/TODO Wed Jul 16 04:51:30 2003 @@ -2,3 +2,4 @@ - Graphical code check upon signup (and possibly login). -DONE - Improve dbbackup.php. -DONE - Improve nsstats.php. +- Add URL/HWINFO/MBOXFW/RP support Index: publicdnsadmin/lib/config.php-dist diff -u publicdnsadmin/lib/config.php-dist:1.9 publicdnsadmin/lib/config.php-dist:1.10 --- publicdnsadmin/lib/config.php-dist:1.9 Wed Jul 16 04:36:28 2003 +++ publicdnsadmin/lib/config.php-dist Wed Jul 16 04:51:30 2003 @@ -7,7 +7,7 @@ Distributed under the GPL license, see LICENSE for more information - $Id: config.php-dist,v 1.9 2003/07/16 11:36:28 key2peace Exp $ + $Id: config.php-dist,v 1.10 2003/07/16 11:51:30 key2peace Exp $ */ /* @@ -30,8 +30,8 @@ /* The primary nameserver in use. Used in the SOA-record, default nameservers for domains must be set in a predefined domain template */ $primary_ns = "ns1.server.org"; -/* Zone hostmaster - used in SOA record */ -$zone_hostmaster = "hos...@se..."; +/* Zone hostmaster - used in SOA record. Note: instead of a @ you *should* use a dot (.) */ +$zone_hostmaster = "hostmaster.server.org"; /* Default TTL for domains/pointers */ $default_ttl = 86400; Index: publicdnsadmin/lib/header.php diff -u publicdnsadmin/lib/header.php:1.10 publicdnsadmin/lib/header.php:1.11 --- publicdnsadmin/lib/header.php:1.10 Thu Jun 19 22:57:40 2003 +++ publicdnsadmin/lib/header.php Wed Jul 16 04:51:30 2003 @@ -7,7 +7,7 @@ Distributed under the GPL license, see LICENSE for more information - $Id: header.php,v 1.10 2003/06/20 05:57:40 sirvulcan Exp $ + $Id: header.php,v 1.11 2003/07/16 11:51:30 key2peace Exp $ */ ?> @@ -61,7 +61,7 @@ echo "<br><br><center>"; echo "<a href=\"http://httpd.apache.org\"><img src=\"images/apache.gif\" border=0></a><br><br>"; echo "<a href=\"http://www.php.net\"><img src=\"images/php.gif\" border=0></a><br><br>"; - if ($database_type == mysql) { + if (db_type() == "mysql") { echo "<a href=\"http://www.mysql.com\"><img src=\"images/mysql.gif\" border=0></a><br>"; } else { echo "<a href=\"http://www.postgresql.org\"><img src=\"images/pgsql.gif\" border=0></a><br>"; ----------------------- End of diff ----------------------- |