CMS MADE SIMPLE FORGE

Secure file download

 

[#8993] Script update for PHP 5.3

avatar
Created By: manuel (manuel)
Date Submitted: Thu Feb 28 11:08:32 -0500 2013

Assigned To: Jonathan Schmid (Foaly*)
Version: v1.0
CMSMS Version: 1,11,4
Severity: Critical
Resolution: None
State: Open
Summary:
Script update for PHP 5.3
Detailed Description:
Dear Foaly,

Below, the modification required to get the script to work with php 5.3.

Replace
	if (ereg("Mac", $browser) and ereg("MSIE", $browser)) {
With
	if (preg_match("|Mac|", $browser) and preg_match("|MSIE|", $browser)) {

ps: If anyone is reading this to make the changes manually... Bug [#8538] also
needs to be changed for the script to correctly work with the latest CMSMS
(currently 1.11.4)

Met vriendelijke groet,
Manuel


History