freebsd-ports/net-mgmt/guifi-snpservices/files/patch-index.php
Kurt Jaeger b8129d8b0f New port: net-mgmt/guifi-snpservices
This software provides graph services in the context of the
Spontaneous Networklink Platform.

WWW: http://es.wiki.guifi.net/wiki/SNPservices

PR:		189904
Submitted by:	tphilipp@potion-studios.com
2014-08-04 09:18:27 +00:00

17 lines
498 B
PHP

--- ./index.php.orig 2012-05-11 16:46:51.000000000 -0500
+++ ./index.php 2014-01-27 23:43:35.000000000 -0600
@@ -5,6 +5,6 @@
* Main call to CNML services
*/
// Common Bootstrap
if (file_exists('common/config.php'))
include_once("common/config.php");
@@ -91,6 +93,7 @@
echo "Available services:\n";
$fservices = glob('services/*.php');
+ $services = array();
foreach ($fservices as $fservice)
$services[] .= basename($fservice,'.php');
echo implode('|',$services);