1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/net-p2p/torrentflux/files/patch-html+admin.php
Oliver Eikemeier cbf3b9754b Add port net/torrentflux, a PHP based BitTorrent client that runs on a web server.
Unfortunately some manual configuration is necessary, so set NO_PACKAGE
(which is probably a dumb idea). Feel free to fix this.

While I'm here, sort CVSROOT-ports/modules.
2005-10-20 18:37:56 +00:00

13 lines
455 B
PHP

--- html/admin.php.orig Fri Sep 30 19:40:51 2005
+++ html/admin.php Sun Oct 2 01:48:40 2005
@@ -212,6 +212,9 @@
case "mysql":
$sCommand = "mysqldump -h ".$cfg["db_host"]." -u ".$cfg["db_user"]." --password=".$cfg["db_pass"]." --all -f ".$cfg["db_name"]." > ".$sql_file;
break;
+ case "sqlite":
+ $sCommand = "sqlite ".$cfg["db_host"]." .dump > ".$sql_file;
+ break;
default:
// no support for backup-on-demand.
$sCommand = "";