Changeset 491 for dev

Show
Ignore:
Timestamp:
02/06/10 11:15:30 (10 years ago)
Author:
kovell
Message:

Installation packages updated. Fetcher does not set session ID. DB queries check if charset method exists before use. History mod is history.

Location:
dev
Files:
1 removed
32 modified

Legend:

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

    r450 r491  
    9090                        $http->set_useragent("EDK Feedfetcher ".$feedversion); 
    9191                        $http->set_timeout(120); 
    92                         $http->set_cookie('PHPSESSID', 'a2bb4a7485eaba91b9d8db6aafd8ec5d'); 
    9392                        $data = $http->get_content(); 
    9493        //              $data = trim(preg_replace('<<!--.*?-->>', '', $data)); // remove <!-- Cached --> message, else it will break gzinflate 
  • dev/common/includes/class.db.mysqli.php

    r436 r491  
    2121            if (!$this->id_ = mysqli_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME, DB_PORT)) 
    2222            die("Unable to connect to mysql database."); 
    23             $this->id_->set_charset('utf8'); 
     23            if(method_exists($this->id_,'set_charset')) $this->id_->set_charset('utf8'); 
    2424        } 
    2525        else 
     
    2727            if (!$this->id_ = mysqli_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME)) 
    2828            die("Unable to connect to mysql database."); 
    29             $this->id_->set_charset('utf8'); 
     29            if(method_exists($this->id_,'set_charset')) $this->id_->set_charset('utf8'); 
    3030        } 
    3131 
  • dev/common/includes/globals.php

    r490 r491  
    1010// current version: major.minor.sub 
    1111// unpair numbers for minor = development version 
    12 define('KB_VERSION', '2.0.10'); 
     12define('KB_VERSION', '2.0.11'); 
    1313define('KB_RELEASE', '(Dominion)'); 
    1414 
  • dev/cron/cron_import.php

    r461 r491  
    1010 
    1111if(function_exists("set_time_limit")) 
    12         set_time_limit(0); 
     12        @set_time_limit(0); 
    1313 
    1414// current working directory minus last 5 letters of string ("/cron")