Plugin Directory

Changeset 378330


Ignore:
Timestamp:
04/28/2011 10:40:16 AM (15 years ago)
Author:
Lukenzi
Message:

Version 1.1.1

Location:
wp-htaccess-editor
Files:
27 added
4 edited

Legend:

Unmodified
Added
Removed
  • wp-htaccess-editor/trunk/lib/lib.functions.php

    r372903 r378330  
    1616            $htaccess_content_orig = str_replace('\\\\', '\\', $htaccess_content_orig);
    1717            $htaccess_content_orig = str_replace('\"', '"', $htaccess_content_orig);
     18            @chmod($WPHE_backup_path, 0666);
    1819            $WPHE_success = file_put_contents($WPHE_backup_path, $htaccess_content_orig, LOCK_EX);
    1920            if($WPHE_success === false)
     
    3132                return true;
    3233            }
     34            @chmod($WPHE_backup_path, 0644);
    3335        }else{
    3436            unset($WPHE_backup_path);
     
    4345            $htaccess_content_orig = str_replace('\\\\', '\\', $htaccess_content_orig);
    4446            $htaccess_content_orig = str_replace('\"', '"', $htaccess_content_orig);
     47            @chmod($WPHE_backup_path, 0666);
    4548            $WPHE_success = file_put_contents($WPHE_backup_path, $htaccess_content_orig, LOCK_EX);
    4649            if($WPHE_success === false)
     
    5861                return true;
    5962            }
     63            @chmod($WPHE_backup_path, 0644);
    6064        }else{
    6165            unset($WPHE_backup_path);
     
    152156    $WPHE_new_content = str_replace('\"', '"', $WPHE_new_content);
    153157    $WPHE_write_success = file_put_contents($WPHE_orig_path, $WPHE_new_content, LOCK_EX);
    154    
    155158    if(!file_exists($WPHE_orig_path) && $WPHE_write_success === false)
    156159    {
  • wp-htaccess-editor/trunk/pages/wphe-dashboard.php

    r372903 r378330  
    9393                    $success = true;
    9494                }
    95                 @chmod($WPHE_orig_path, 0640);
    9695            }
    9796        }
  • wp-htaccess-editor/trunk/readme.txt

    r372903 r378330  
    44Tags: simply,htaccess,editor
    55Requires at least: 3.0
    6 Tested up to: 3.1.1
    7 Stable tag: 1.1.0
     6Tested up to: 3.1.2
     7Stable tag: 1.1.1
    88
    99Simple editor htaccess file without using FTP client.
     
    3636== Changelog ==
    3737
     38= 1.1.1 =
     39* Fixed CHMOD
     40
    3841= 1.1.0 =
    3942* Adding Czech and English language
  • wp-htaccess-editor/trunk/wp-htaccess-editor.php

    r372903 r378330  
    44Plugin URI: http://www.wp-blog.cz/101-plugin-wp-htaccess-editor/
    55Description: Simple editor htaccess file without using FTP client.
    6 Version: 1.1.0
     6Version: 1.1.1
    77Author: Lukenzi
    88Author URI: http://www.wp-blog.cz/
     
    3232   return;
    3333}else{
    34     $WPHE_version = '1.1.0';
     34    $WPHE_version = '1.1.1';
    3535    $WPHE_mem_start = memory_get_usage();
    3636
Note: See TracChangeset for help on using the changeset viewer.