Plugin Directory

Changeset 934780


Ignore:
Timestamp:
06/19/2014 12:48:11 AM (12 years ago)
Author:
orillacart
Message:

Add support for MySQLI

Location:
orillacart/trunk
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • orillacart/trunk/core/factory.php

    r802008 r934780  
    55class Factory {
    66
    7     static public function getDBO($type = 'mysql') {
    8 
     7    static public function getDBO($type = null) {
     8       
     9        global $wpdb;
     10       
     11        if($type == null){
     12           
     13            if ( ! isset($wpdb->use_mysqli) || ! $wpdb->use_mysqli ){
     14                $type = "mysql";
     15            }else{
     16           
     17                $type = "mysqliDriver";
     18               
     19            }
     20           
     21        }
     22   
    923        if (class_exists($type) && method_exists($type, 'getInstance'))
    1024            return call_user_func($type . '::getInstance');
  • orillacart/trunk/main.php

    r932501 r934780  
    33/*
    44  Plugin Name: OrillaCart
    5   Version: 1.2.1
     5  Version: 1.2.2
    66  Description: ecommerce solution for WordPress
    77  Plugin URI: http://orillacart.com
     
    1717define("ORILLA_FRAMEWORK_BASE",realpath(dirname(__FILE__)));
    1818define("ORILLA_FRAMEWORK_CORE",realpath(dirname(__FILE__).DS."core"));
    19 define("ORILLACART_VERSION","1.2.1");
     19define("ORILLACART_VERSION","1.2.2");
    2020
    2121define("ORILLA_FRAMEWORK_PUBLIC_KEY",realpath(dirname(__FILE__).DS."core".DS."public_key".DS."orillacart.pub"));
  • orillacart/trunk/readme.txt

    r932501 r934780  
    1 === Orilla Cart - eCommerce ===
     1=== Orilla Cart - eCommerce ===
    22Contributors: orillacart
    33Tags: ecommerce plugin, ecommerce, e-commerce, attributes, variations, commerce, wordpress ecommerce, product, store, sales, sell, shop, shopping, cart, checkout, downloadable, digital, inventory, shipping, tax
     
    102102== Changelog ==
    103103
     104= 1.2.2 - 19.06.2014 =
     1051. MySQLI Driver added
     106
    104107= 1.2.1 - 15.06.2014 =
    1051081. Compatibility with warp and gantry based themes.
Note: See TracChangeset for help on using the changeset viewer.