Plugin Directory

Changeset 509605


Ignore:
Timestamp:
02/24/2012 01:30:25 AM (14 years ago)
Author:
Risal Affendie
Message:

Upgrade v1.5. Fix big error on v1.4

Location:
wp-risal-download
Files:
1 added
3 edited
13 copied

Legend:

Unmodified
Added
Removed
  • wp-risal-download/tags/1.5/downfile.php

    r508729 r509605  
    9090    $wpdb->query("DELETE FROM $ristokens WHERE id = '$filename' and token = '$tokex'");
    9191    // Delete other expired tokens.(v1.4)
    92     $pointer = date() - $antileech;
     92    $pointer = time() - $antileech;
    9393    $pointer = date("Y-m-d H:i:s",$pointer);
    9494    $wpdb->query("DELETE FROM $ristokens WHERE TIMEDIFF(point,'$pointer') < 0");
     
    184184}
    185185// Delete other expired tokens.(v1.4)
    186 $pointer = date() - $antileech;
     186$pointer = time() - $antileech;
    187187$pointer = date("Y-m-d H:i:s",$pointer);
    188188$wpdb->query("DELETE FROM $ristokens WHERE TIMEDIFF(point,'$pointer') < 0");
  • wp-risal-download/tags/1.5/readme.txt

    r508729 r509605  
    22Contributors: Risal Affendie
    33Donate link: http://linuxuserjp.wordpress.com/donate
    4 Tags: abuse, download, session, browser, encrypt, security, secure, apache, linuxuserjp, risal
     4Tags: abuse, download, session, browser, encrypt, security, secure, apache, linuxuserjp, risal, token, anti leech
    55Requires at least: 3.0.0
    66Tested up to: 3.3.1
    7 Stable Tag: 1.4
     7Stable Tag: 1.5
    88
    99risal-download is a simple scripts to avoid download abuse(either by human or robot).
     
    7070* Be carefull if you update from previous version. Script will drop all tables for this plugins.
    7171
     72= 1.5 =
     73* Fix error on 1.4. Where unable to delete expired tokens and some produce error when clicked button. Version 1.4 totally trash.
     74
  • wp-risal-download/tags/1.5/risal-download.php

    r508729 r509605  
    44Plugin URI: http://linuxuserjp.wordpress.com/
    55Description: Filter direct download of files. Manage how your files from outside ROOT_DIRECTORY will be downloaded. Monitor who download your files.
    6 Version: 1.4
     6Version: 1.5
    77Author: Risal Affendie
    88Author URI: http://linuxuserjp.wordpress.com
    9 Tags: abuse, download, session, browser, encrypt, security, secure, apache, token, linuxuserjp, risal
     9Tags: abuse, download, session, browser, encrypt, security, secure, apache, token, linuxuserjp, risal, token, anti leech
    1010*/
    1111
  • wp-risal-download/trunk/downfile.php

    r508729 r509605  
    9090    $wpdb->query("DELETE FROM $ristokens WHERE id = '$filename' and token = '$tokex'");
    9191    // Delete other expired tokens.(v1.4)
    92     $pointer = date() - $antileech;
     92    $pointer = time() - $antileech;
    9393    $pointer = date("Y-m-d H:i:s",$pointer);
    9494    $wpdb->query("DELETE FROM $ristokens WHERE TIMEDIFF(point,'$pointer') < 0");
     
    184184}
    185185// Delete other expired tokens.(v1.4)
    186 $pointer = date() - $antileech;
     186$pointer = time() - $antileech;
    187187$pointer = date("Y-m-d H:i:s",$pointer);
    188188$wpdb->query("DELETE FROM $ristokens WHERE TIMEDIFF(point,'$pointer') < 0");
  • wp-risal-download/trunk/readme.txt

    r508729 r509605  
    22Contributors: Risal Affendie
    33Donate link: http://linuxuserjp.wordpress.com/donate
    4 Tags: abuse, download, session, browser, encrypt, security, secure, apache, linuxuserjp, risal
     4Tags: abuse, download, session, browser, encrypt, security, secure, apache, linuxuserjp, risal, token, anti leech
    55Requires at least: 3.0.0
    66Tested up to: 3.3.1
    7 Stable Tag: 1.4
     7Stable Tag: 1.5
    88
    99risal-download is a simple scripts to avoid download abuse(either by human or robot).
     
    7070* Be carefull if you update from previous version. Script will drop all tables for this plugins.
    7171
     72= 1.5 =
     73* Fix error on 1.4. Where unable to delete expired tokens and some produce error when clicked button. Version 1.4 totally trash.
     74
  • wp-risal-download/trunk/risal-download.php

    r508729 r509605  
    44Plugin URI: http://linuxuserjp.wordpress.com/
    55Description: Filter direct download of files. Manage how your files from outside ROOT_DIRECTORY will be downloaded. Monitor who download your files.
    6 Version: 1.4
     6Version: 1.5
    77Author: Risal Affendie
    88Author URI: http://linuxuserjp.wordpress.com
    9 Tags: abuse, download, session, browser, encrypt, security, secure, apache, token, linuxuserjp, risal
     9Tags: abuse, download, session, browser, encrypt, security, secure, apache, token, linuxuserjp, risal, token, anti leech
    1010*/
    1111
Note: See TracChangeset for help on using the changeset viewer.