Use latest pear2/services_linkback 0.4.0
[phorkie.git] / www / setup.php
index 2656c9ca0bb2dc9e52e6f974142197aa8a43854b..634a11aa539653ad89f16ffef39331128a949546 100644 (file)
@@ -99,7 +99,7 @@ HTM;
 if (array_sum($GLOBALS['phorkie']['cfgfiles']) == 0) {
     //no config file loaded
     reset($GLOBALS['phorkie']['cfgfiles']);
-    list($cfgFilePath, ) = each($GLOBALS['phorkie']['cfgfiles']);
+    $cfgFilePath = key($GLOBALS['phorkie']['cfgfiles']);
 
     $cfgFilePath = Tools::foldPath($cfgFilePath);
     $cfgFileTemplate = htmlspecialchars(
@@ -133,7 +133,7 @@ $out .= <<<HTM
   </div>
 
   <div class="container footer">
-   <a href="//sf.net/p/phorkie/">phorkie</a>,
+   <a href="https://cweiske.de/phorkie.htm">phorkie</a>,
    the self-hosted, git-based pastebin software is available under the
    <a href="http://www.gnu.org/licenses/agpl-3.0.html">
     <abbr title="GNU Affero General Public License">AGPL</abbr></a>.