Plugin Directory

Changeset 1595444


Ignore:
Timestamp:
02/14/2017 06:17:42 AM (9 years ago)
Author:
osexcel
Message:

6.6.4.1

  • Fixed: download function not working on some websites
  • Fixed: PHP errors in php7.1.1
  • Improved Email templates
Location:
ose-firewall/trunk
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • ose-firewall/trunk/classes/Library/CountryBlock/CountryBlock.php

    r1496143 r1595444  
    8888    private function downloadFile($url, $target = false)
    8989    {
    90         $url_fopen = ini_get('allow_url_fopen'); 
     90        $url_fopen = ini_get('allow_url_fopen');
    9191        if ($url_fopen == true)
    9292        {
    9393            $handle = $this->downloadThroughFopen($url, $target);
    94         }
     94            if($handle== false)
     95            {
     96                $handle = $this->downloadThroughCURL ($url, $target);
     97            }
     98        }
    9599        else
    96100        {
     
    120124        $meta_data = stream_get_meta_data($inputHandle);
    121125        // Initialise contents buffer
     126        if(!empty($meta_data) && isset($meta_data['wrapper_data']) && empty($meta_data['wrapper_data']))
     127        {
     128            return false;
     129        }
    122130        $contents = null;
    123131        while (!feof($inputHandle))
  • ose-firewall/trunk/classes/Library/adminemails/email.tpl

    r1586842 r1595444  
    8989                                <td width="600" style="color:white; opacity:0.8; text-align:center;">
    9090                                    <div style="border-top: 1px solid white; margin:10px 50px"></div>
    91                                     <span style="font-size: 13px;" >Centrora 2016 a portfolio of Luxur Group PTY LTD,  All rights reserved.</span>
     91                                    <span style="font-size: 13px;" >Centrora 2014-2017 a portfolio of Luxur Group PTY LTD,  All rights reserved.</span>
    9292                                </td>
    9393                            </tr>
  • ose-firewall/trunk/classes/Library/backup/email.tpl

    r1586842 r1595444  
    8989                                <td width="600" style="color:white; opacity:0.8; text-align:center;">
    9090                                    <div style="border-top: 1px solid white; margin:10px 50px"></div>
    91                                     <span style="font-size: 13px;" >Centrora 2016 a portfolio of Luxur Group PTY LTD,  All rights reserved.</span>
     91                                    <span style="font-size: 13px;" >Centrora 2014-2017 a portfolio of Luxur Group PTY LTD,  All rights reserved.</span>
    9292                                </td>
    9393                            </tr>
  • ose-firewall/trunk/classes/Library/downloader/oseDownloader.php

    r1496143 r1595444  
    138138        {
    139139            $target = $this->downloadThroughFopen($url, $target);
     140            if($target == false)
     141            {
     142                $target = $this->downloadThroughCURL ($url, $target);
     143            }
    140144        }
    141145        else
     
    153157        }
    154158        $meta_data = stream_get_meta_data($inputHandle);
     159        if(!empty($meta_data) && isset($meta_data['wrapper_data']) && empty($meta_data['wrapper_data']))
     160        {
     161            return false;
     162        }
    155163        // Initialise contents buffer
    156164        $contents = null;
  • ose-firewall/trunk/classes/Library/emails/email.tpl

    r1586842 r1595444  
    8989                                <td width="600" style="color:white; opacity:0.8; text-align:center;">
    9090                                    <div style="border-top: 1px solid white; margin:10px 50px"></div>
    91                                     <span style="font-size: 13px;" >Centrora 2016 a portfolio of Luxur Group PTY LTD,  All rights reserved.</span>
     91                                    <span style="font-size: 13px;" >Centrora 2014-2017 a portfolio of Luxur Group PTY LTD,  All rights reserved.</span>
    9292                                </td>
    9393                            </tr>
  • ose-firewall/trunk/classes/Library/fwscanner/email.tpl

    r1586842 r1595444  
    8989                                <td width="600" style="color:white; opacity:0.8; text-align:center;">
    9090                                    <div style="border-top: 1px solid white; margin:10px 50px"></div>
    91                                     <span style="font-size: 13px;" >Centrora 2016 a portfolio of Luxur Group PTY LTD,  All rights reserved.</span>
     91                                    <span style="font-size: 13px;" >Centrora 2014-2017 a portfolio of Luxur Group PTY LTD,  All rights reserved.</span>
    9292                                </td>
    9393                            </tr>
  • ose-firewall/trunk/classes/Library/panel/panel.php

    r1581581 r1595444  
    437437        $curl = curl_init($url);
    438438        curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
     439        curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true);
    439440        $contents = curl_exec($curl);
    440441        curl_close($curl);
  • ose-firewall/trunk/classes/Library/vsscanner/vsscanner.php

    r1586842 r1595444  
    668668        $i=0;
    669669        while (!empty($this->vsInfo)) {
    670             $needle = "com_ose_firewall/protected/data";
    671670            $this->last_scanned = stripslashes(array_pop($this->vsInfo));
    672             if(strpos($this->last_scanned,$needle) == false) {
    673671                if (oseFile::exists($this->last_scanned) == false) {
    674672                    continue;
     
    687685                }
    688686                $i++;
    689              }
    690687            }
    691688        return $this->returnCompleteMsg($this->last_scanned, $process, $size, $lastfileno, $remote);
  • ose-firewall/trunk/ose_firewall_badge.php

    r1586842 r1595444  
    44   Description: Plugin For Showing Centrora Security Badge
    55   Author: Centrora Security
    6    Version: 6.6.4
     6   Version: 6.6.4.1
    77*/ 
    88//include(dirname(__FILE__).'/includes/oseBadgeWidget.php');
  • ose-firewall/trunk/ose_wordpress_firewall.php

    r1586842 r1595444  
    55Description: Centrora Security (previously OSE Firewall) - A WordPress Security Firewall plugin created by Centrora. Protect your WordPress site by identify any malicious codes, spam, virus, SQL injection, and security vulnerabilities.
    66Author: Centrora (Previously ProWeb)
    7 Version: 6.6.4
     7Version: 6.6.4.1
    88Author URI: http://www.centrora.com/
    99*/
  • ose-firewall/trunk/readme.txt

    r1586842 r1595444  
    66Requires at least: 3.7
    77Tested up to: 4.7.2
    8 Stable tag: 6.6.4
     8Stable tag: 6.6.4.1
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    164164
    165165== Changelog ==
     166
     167= 6.6.4.1 =
     168* Fixed: download function not working on some websites
     169* Fixed: PHP errors in php7.1.1
     170* Improved Email templates
    166171
    167172= 6.6.4 =
  • ose-firewall/trunk/vendor/oseframework/users/oseUsers.php

    r1581581 r1595444  
    3333    private $db = null;
    3434    private static $cmsStatic = null;
    35     public function __construct($app)
     35    public function __construct($app=null)
    3636    {
    3737        $this->app = $app;
Note: See TracChangeset for help on using the changeset viewer.