|
发表于 2011-6-11 20:24:12
|
显示全部楼层
建立一个 MY_Cart.php
application/libraries下
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class MY_Cart extends CI_Cart {
function __construct() {
parent::CI_Cart();
$this->product_name_rules = 'dD';
}
}
复制代码 |
|