Changeset 256

Show
Ignore:
Timestamp:
09/11/07 14:20:32 (16 months ago)
Author:
082net
Message:

## wp-slimstat-ex tags ##

v1.604 minor update

Location:
wp-slimstat-ex/tags/1.6
Files:
11 modified

Legend:

Unmodified
Added
Removed
  • wp-slimstat-ex/tags/1.6/lib/functions.php

    r246 r256  
    791791        function get_real_firsthit($type) { 
    792792                global $wpdb, $SlimCfg; 
    793                 $query = "SELECT MIN(dt_start) FROM {$SlimCfg->table_dt}"; 
     793                $query = "SELECT MIN(dt_start) AS dt_start FROM {$SlimCfg->table_dt}"; 
    794794                switch ($type) { 
    795795                        case 'common': 
  • wp-slimstat-ex/tags/1.6/lib/ss-admin/_functions.php

    r252 r256  
    33load_plugin_textdomain('slimstat-admin', 'wp-content/plugins/wp-slimstat-ex/lang');      
    44 
    5 if(!class_exists('wp_SSAdmin')) : 
     5if(!class_exists('SSAdmin')) : 
    66class SSAdmin extends SlimCfg { 
    77        var $old_stats; 
  • wp-slimstat-ex/tags/1.6/lib/ss-admin/admin.php

    r246 r256  
    88require_once($wp_config); 
    99$SlimCfg->check_user(); 
    10 include_once('_functions.php'); 
     10 
     11require_once('_functions.php'); 
     12if(!isset($ssAdmin)) 
     13        $ssAdmin =& SSAdmin::get_instance(); 
     14 
    1115if (isset($_GET['step'])) 
    1216        $step = $_GET['step']; 
  • wp-slimstat-ex/tags/1.6/lib/ss-admin/iptc.php

    r246 r256  
    88require_once($wp_config); 
    99$SlimCfg->check_user(); 
    10 include_once('_functions.php'); 
     10 
     11require_once('_functions.php'); 
     12if(!isset($ssAdmin)) 
     13        $ssAdmin =& SSAdmin::get_instance(); 
     14 
    1115if (isset($_GET['step'])) 
    1216        $step = $_GET['step']; 
  • wp-slimstat-ex/tags/1.6/lib/ss-admin/performance.php

    r246 r256  
    88require_once($wp_config); 
    99$SlimCfg->check_user(); 
    10 include_once('_functions.php'); 
     10 
     11require_once('_functions.php'); 
     12if(!isset($ssAdmin)) 
     13        $ssAdmin =& SSAdmin::get_instance(); 
     14 
    1115if (isset($_GET['step'])) 
    1216        $step = $_GET['step']; 
  • wp-slimstat-ex/tags/1.6/lib/ss-admin/short2slim.php

    r246 r256  
    88require_once($wp_config); 
    99$SlimCfg->check_user(); 
    10 include_once('_functions.php'); 
     10 
     11require_once('_functions.php'); 
     12if(!isset($ssAdmin)) 
     13        $ssAdmin =& SSAdmin::get_instance(); 
     14 
    1115if (isset($_GET['step'])) 
    1216        $step = $_GET['step']; 
  • wp-slimstat-ex/tags/1.6/lib/ss-admin/slim2ex.php

    r246 r256  
    88require_once($wp_config); 
    99$SlimCfg->check_user(); 
    10 include_once('_functions.php'); 
     10 
     11require_once('_functions.php'); 
     12if(!isset($ssAdmin)) 
     13        $ssAdmin =& SSAdmin::get_instance(); 
     14 
    1115if (isset($_GET['step'])) 
    1216        $step = $_GET['step']; 
  • wp-slimstat-ex/tags/1.6/lib/ss-admin/upgrade.php

    r246 r256  
    88require_once($wp_config); 
    99$SlimCfg->check_user(); 
     10 
    1011require_once('_functions.php'); 
     12if(!isset($ssAdmin)) 
     13        $ssAdmin =& SSAdmin::get_instance(); 
     14 
    1115require_once(SLIMSTATPATH . 'lib/upgrade.php'); 
    1216 
  • wp-slimstat-ex/tags/1.6/lib/upgrade.php

    r252 r256  
    11<?php 
     2if(!class_exists('SSAdmin')) 
     3        require_once(SLIMSTATPATH . 'lib/ss-admin/_functions.php'); 
     4 
    25if(!isset($ssAdmin)) 
    3         require_once(SLIMSTATPATH . 'lib/ss-admin/_functions.php'); 
     6        $ssAdmin =& SSAdmin::get_instance(); 
    47 
    58class SSUpgrade { 
  • wp-slimstat-ex/tags/1.6/wp-slimstat-ex-config.php

    r252 r256  
    22 
    33class SlimCfg { 
    4         var $version = '1.602'; // Current SlimStat-Ex version 
     4        var $version = '1.604'; // Current SlimStat-Ex version 
    55        var $external_iptc = 'internal'; // set this 'external' to use external ip-to-country database 
    66        var $uaOption = false; // Personal use... please forget about this ;) 
  • wp-slimstat-ex/tags/1.6/wp-slimstat-ex.php

    r252 r256  
    44Plugin URI: http://082net.com/tag/wp-slimstat-ex/ 
    55Description: Track your blog stats. Based on <a href="http://www.duechiacchiere.it/">Mr. Coolmann</a>'s <a href="http://www.duechiacchiere.it/wp-slimstat/">Wp-SlimStat</a>.  
    6 Version: 1.602 
     6Version: 1.604 
    77Author: Cheon, Young-Min 
    88Author URI: http://082net.com/ 
     
    248248                if(!$current || $current == '0.1') { 
    249249                        require_once(SLIMSTATPATH . 'lib/ss-admin/_functions.php'); 
     250                        if(!isset($ssAdmin)) 
     251                                $ssAdmin =& SSAdmin::get_instance(); 
    250252                        $is_15 = $ssAdmin->maybe_add_column($SlimCfg->table_pins, 'type', '', true); 
    251253                        if(!$is_15) {