Home aeyStudio
Welcome Guest · Registration
Resources
Download Seportal
Demo Site
SePortal Sites

Users
Username:

Password:

Log me on automatically next visit?


» Forgot password
» Registration

Topics
Home
Seportal (5)
News (3)

Who is Online
Currently active users: 4
There are currently 0 registered user(s) (0 among them invisible) and 4 guest(s) online.

Random Image
Database Yedekleme/Backups

Database Yedekleme/Backups
Comments: 0
zebaniz

Powered By
Powered by SePortal

Rate SePortal at
Listed at Hot Scripts in PHP

Scripts.com


ScriptSearch.com



Add Reply New Topic

> [2008-02-12] Important security fix for 2.4 - Önemli bir düzeltme
 
 
zebaniz
Posted: 12.02.2008 - 15:54
Quote


Administrator
Group Icon

Group: Admin
Total posts: 306
User No: 1
Join Date: 01.01.2007 00:00



 
Türkçe:
Bu Önemli düzeltmenin yapılması gereklidir:
Düzeltme: 1
submit.php dosyasını açın;

Aşağıdaki metni bulun (1823.satır)
PHP

else {
      
$new_name $remote_media_file;
    }



    if (!
$uploaderror) {

      
$active $direct_upload 0;

ve aşağıdaki ile değiştirin:
PHP

else {
      
$new_name $remote_down_file;
    }



    if (!
$uploaderror) {

      
$active $direct_upload 0;



Düzeltme: 2
admin/downloads.php dosyasını açın;

Aşağıdaki metni bulun (275.satır)
PHP

show_form_header
("downloads.php""updatefile""form"1);

ve aşağıdaki ile değiştirin:
PHP

$show_remote_file_url 
is_remote_file($row['file_name']) ? $row['file_name'] : "";

show_form_header("downloads.php""updatefile""form"1);


Aşağıdaki metni bulun (281.satır)
PHP

show_upload_row
($lang['file'].":""file""<br /><span class=smalltext>".$lang['allowed_mediatypes_desc']." ".$lang['all_file_formats']."</span>");

ve aşağıdaki ile değiştirin:
PHP

show_upload_row
($lang['file'].":""file""<br /><span class='smalltext'>".$lang['allowed_mediatypes_desc']." ".$lang['all_file_formats']."</span>"$show_remote_file_url);


Düzeltme: 3
lang/english/admin.php dosyasını açın;

Aşağıdaki metni bulun (1380.satır)
PHP

$lang
['delete_image_files_confirm'] = "Do you want to delete this file?";

ve aşağıdaki ile değiştirin:
PHP

$lang
['delete_down_files_confirm'] = "Do you want to delete this file?";





English:
[b]This is an important security fix[/b]
Step 1

Open submit.php
and find (line 1823):
PHP

else {
      
$new_name $remote_media_file;
    }



    if (!
$uploaderror) {

      
$active $direct_upload 0;

replace:
PHP

else {
      
$new_name $remote_down_file;
    }



    if (!
$uploaderror) {

      
$active $direct_upload 0;



Step: 2
Open admin/downloads.php
and find (line 275):
PHP

show_form_header
("downloads.php""updatefile""form"1);

replace:
PHP

$show_remote_file_url 
is_remote_file($row['file_name']) ? $row['file_name'] : "";

show_form_header("downloads.php""updatefile""form"1);


find (line: 281)
PHP

show_upload_row
($lang['file'].":""file""<br /><span class=smalltext>".$lang['allowed_mediatypes_desc']." ".$lang['all_file_formats']."</span>");

replace:
PHP

show_upload_row
($lang['file'].":""file""<br /><span class='smalltext'>".$lang['allowed_mediatypes_desc']." ".$lang['all_file_formats']."</span>"$show_remote_file_url);


Step: 3
Open lang/english/admin.php
and find (Line:1380)
PHP

$lang
['delete_image_files_confirm'] = "Do you want to delete this file?";

replace:
PHP

$lang
['delete_down_files_confirm'] = "Do you want to delete this file?";

Offline zebaniz admin at seportal.org http://www.seportal.org
Top

Add Reply New Topic



Contribute | Forums | Gallery | Calendar | Links | Downloads | Members | Search | Guestbook | Article Directory

Powered by SePortal 2.5
Copyright © 2007-2012 SePortal.org