Changeset 231

Show
Ignore:
Timestamp:
08/22/07 08:38:52 (14 years ago)
Author:
ralle030583
Message:

Feed Syndication v1.5 Fixes:
-  http://www.eve-dev.net/e107_plugins/forum/forum_viewtopic.php?5366

Admin - DB Maintaince
- make the cache size a bit nice (KB/MB/GB)

Location:
dev
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • dev/common/admin/option_db.php

    r216 r231  
    4444            } 
    4545        } 
    46  
    47         return round($size/1024, 2).' KB <input type="checkbox" name="option[sql_clearcache]">Clear cache ?'; 
     46                 
     47        // GB 
     48        if (($size / 1073741824) > 1){ 
     49                return round($size/1073741824, 4).' GB <input type="checkbox" name="option[sql_clearcache]">Clear cache ?'; 
     50        // MB    
     51        }elseif (($size / 1048576) > 1){ 
     52                return round($size/1048576, 4).' MB <input type="checkbox" name="option[sql_clearcache]">Clear cache ?'; 
     53                // KB 
     54        }else{  
     55                return round($size/1024, 2).' KB <input type="checkbox" name="option[sql_clearcache]">Clear cache ?'; 
     56        } 
    4857    } 
    4958 
  • dev/common/includes/globals.php

    r219 r231  
    11<?php 
    22// current subversion revision 
    3 preg_match('/\$Re'.'vision: (.*?) \$/', '$Revision: 219 $', $match); 
     3preg_match('/\$Re'.'vision: (.*?) \$/', '$Revision: 231 $', $match); 
    44define('SVN_REV', $match[1]); 
    55 
  • dev/mods/feed_syndication/feed_fetcher.php

    r226 r231  
    1414require_once( "common/includes/class.kill.php" ); 
    1515require_once( "common/includes/class.parser.php" ); 
    16 if ( file_exists("../../common/includes/class.comments.php") ) // for the Eve-Dev Comment Class 
     16if ( file_exists("common/includes/class.comments.php") ) // for the Eve-Dev Comment Class 
    1717        require_once( "common/includes/class.comments.php" ); 
    1818if ( file_exists("../../common/class.comment.php") ) // for the D2 Killboard Comment Class 
  • dev/mods/feed_syndication/settings.php

    r226 r231  
    144144                $html .= $feedfetch->grab($feed[$i], $myid . $str); 
    145145        } 
    146         config::set($cfg, $feed[$i] . ':::' . $lastkllid . ':::' . $friend); 
     146        config::set($cfg, $feed[$i] . ':::' . $lastkllid . ':::' . $friend[$i]); 
    147147        $time[$i] = $lastkllid; 
    148148    }