parse_uri() needs two parameters
[phpfspot.git] / phpfspot.class.php
index 12e14fa42f1ef3922d57d0faf75699651081e9a4..b5dd177307e07012704e93486f6a7ab6d4143605 100644 (file)
@@ -28,6 +28,9 @@ require_once "phpfspot_db.php";
 /**
  * PHPFSPOT main class
  *
+ * this class contains the most functions which will to the major
+ * work for phpfspot.
+ *
  * @package phpfspot
  */
 class PHPFSPOT {
@@ -488,10 +491,9 @@ class PHPFSPOT {
     * is usally not the same as on the webserver, this function
     * will replace the path with that one specified in the cfg
     * @param string $path
-    * @param integer $width
     * @return string
     */
-   public function translate_path($path, $width = 0)
+   public function translate_path($path)
    {  
       return str_replace($this->cfg->path_replace_from, $this->cfg->path_replace_to, $path);
 
@@ -2564,7 +2566,7 @@ class PHPFSPOT {
     * error message
     * @param string $file
     * @param boolean $silent
-    * @retrun boolean
+    * @return boolean
     */
    private function check_readable($file, $silent = null)
    {