Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: [fix] Deleting files  (Read 3429 times)

Joost

  • Guest
[fix] Deleting files
« on: November 03, 2008, 04:27:49 PM »

Without the following fix, sNews 1.7 can't delete files (images, stylesheets etc.).

In sNews.php, find line 3107

Replace that line with:

<a href="?action=snews_files&amp;task=delete&amp;folder='.$path.'&amp;file='.$file.'" title="'.l('delete').' '.$file.'" onclick="return pop()">

If issues still exist, report here

Note: 1.7 is not updated yet (no access).
« Last Edit: November 04, 2008, 07:36:33 AM by philmoz »
Logged

philmoz

  • High flyer
  • Administrator
  • ULTIMATE member
  • ******
  • Karma: 161
  • Posts: 2001
    • fiddle 'n fly
Re: [fix] Deleting files
« Reply #1 on: November 04, 2008, 07:35:36 AM »

Download is updated.
Logged
Of all the things I have lost, it is my mind that I miss the most.