changeset 886:354183f9c6e9

Add some comments.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 26 Nov 2014 17:48:28 +0200
parents 2ca7f609e480
children e6a1410ce71d
files msite.inc.php
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/msite.inc.php	Wed Nov 26 17:46:31 2014 +0200
+++ b/msite.inc.php	Wed Nov 26 17:48:28 2014 +0200
@@ -840,7 +840,7 @@
 
 
 //
-// Create a path, or URL from specified components
+// Filter a path or filename component string
 //
 function stFilterPathComponent($str)
 {
@@ -848,6 +848,9 @@
 }
 
 
+//
+// Replace or add filename extension
+//
 function stReplaceFileExt($filename, $fext = FALSE)
 {
   if ($fext === FALSE)
@@ -860,6 +863,9 @@
 }
 
 
+//
+// Create a path, or URL from specified components
+//
 function stMakePath($isURL, $hasFilename, $components)
 {
   $res = array();