| Server IP : 82.208.35.60 / Your IP : 216.73.216.238 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/net-mgmt/phpweathermap/files/ |
Upload File : |
--- weathermap.orig 2011-01-06 16:39:47.000000000 +0800
+++ weathermap 2011-01-07 21:24:30.000000000 +0800
@@ -1,20 +1,20 @@
-#!/usr/bin/php
+#!%%PREFIX%%/bin/php
<?php
// PHP Weathermap 0.97a
// Copyright Howard Jones, 2005-2009 howie@thingy.com
// http://www.network-weathermap.com/
// Released under the GNU Public License
-require_once 'Console/Getopt.php';
+require_once '%%PREFIX%%/share/pear/Console/Getopt.php';
-require_once "Weathermap.class.php";
+require_once "%%DATADIR%%/Weathermap.class.php";
if (!module_checks()) { die ("Quitting: Module checks failed.\n"); }
// $weathermap_debugging=TRUE;
$output="html";
-$configfile="weathermap.conf";
+$configfile="%%DATADIR%%/weathermap.conf";
$htmlfile='';
$imagefile='';
$dumpafter=0;
@@ -25,7 +25,7 @@
// **************************************************************************************
// THIS IS THE ONE LINE IN HERE YOU MIGHT HAVE TO CHANGE!
-$rrdtool="/usr/bin/rrdtool";
+$rrdtool="%%PREFIX%%/bin/rrdtool";
// (on Windows, use / instead of \ in pathnames - c:/rrdtool/bin/rrdtool.exe for example)
// **************************************************************************************