]> git.ipfire.org Git - thirdparty/mlmmj.git/commitdiff
remove old comments
authorliedekef <franky.van.liedekerke@gmail.com>
Fri, 17 Feb 2023 16:29:58 +0000 (17:29 +0100)
committerGitea <gitea@fake.local>
Fri, 17 Feb 2023 21:09:56 +0000 (21:09 +0000)
contrib/web/php-admin/htdocs/class.rFastTemplate.php
contrib/web/php-admin/htdocs/save.php

index c4a29efe5e64dc850e99203987bbbf57d6a63ac6..018dea5f6b6cc0d67fcafe63d03d08e7aedfebe7 100644 (file)
@@ -192,7 +192,6 @@ class rFastTemplate {
    // Description
    //    Constructor.
    //
-   //function rFastTemplate ($pathToTemplates = '') {
    public function __construct ($pathToTemplates = '') {
 
       // $pathToTemplates can also be an array of template roots, handled in set_root
index 5d44310b187d43c04dac2f418b8b64a26d6e526f..90874093cf745c86fe59196266fe0397241af5bc 100644 (file)
@@ -40,8 +40,6 @@ function mlmmj_boolean($name, $nicename, $text)
     {
        if(!touch($file))
           die("Couldn't open ".$file." for writing");
-       //if (!chmod($file, 0644))
-       //   die("Couldn't chmod ".$file);
        // don't error on chmod, if the owner of the file is different it won't work
        @chmod($file, 0664);
     }
@@ -83,8 +81,6 @@ function mlmmj_list($name, $nicename, $text)
        fwrite($fp, $_POST[$name]);
        fclose($fp);
 
-       //if (!chmod($file, 0644))
-       //   die("Couldn't chmod ".$file);
        // don't error on chmod, if the owner of the file is different it won't work
        @chmod($file, 0664);
     }