Plugin Directory

Changeset 840224


Ignore:
Timestamp:
01/17/2014 10:07:10 AM (12 years ago)
Author:
mbence
Message:

support for older php

Location:
reload/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • reload/trunk/readme.txt

    r840214 r840224  
    3333== Changelog ==
    3434
    35 = 1.1.0 =
     35= 1.1.1 =
    3636* Added a really fast check for standard WP installs
    3737
  • reload/trunk/reload-monitor.php

    r840214 r840224  
    55 * @link http://bencemeszaros.com
    66 * @link http://wordpress.org/extend/plugins/reload/
    7  * @version 1.1.0
     7 * @version 1.1.1
    88 */
    99
  • reload/trunk/reload.js

    r840214 r840224  
    44 * @link http://bencemeszaros.com
    55 * @link http://wordpress.org/plugins/reload/
    6  * @version 1.1.0
     6 * @version 1.1.1
    77 */
    88
  • reload/trunk/reload.php

    r840214 r840224  
    77  Author URI: http://bencemeszaros.com
    88  Plugin URI: http://wordpress.org/extend/plugins/reload/
    9   Version: 1.1.0
     9  Version: 1.1.1
    1010  License: GPL2
    1111 */
     
    104104
    105105            // check if this is a standard directory structure, then we can use the fast file checker instead of the slow wp-admin way
    106             $std_uploads = realpath(__DIR__ . '/../../uploads');
     106            $std_uploads = realpath(dirname(__FILE__) . '/../../uploads');
    107107            if ($std_uploads == realpath($upload_dir['basedir'])) {
    108108                $this->fastCheck = true;
Note: See TracChangeset for help on using the changeset viewer.