Share code rao vặt của producervn.com

  • Thread starter Thread starter AdminAdmin is verified member.
  • Start date Start date
Admin

AdminAdmin is verified member.

Well-Known Member
Staff member
Administrator
Code đã fix hết lỗi:
1: Lỗi captcha nhất là phần sửa bài viết
2: Thêm BBcode IMG ở khung soạn thảo
3: Data hoàn toàn new
4: Code sạch
Demo:
Code:
http://24h.producervn.com
Hướng dẫn config
Bước 1. Vào: system\application\config ( Sửa 2 cái config.php và database.php )
config.php


Code:
$config['base_url']    = "http://".$_SERVER['HTTP_HOST']."/[COLOR=#ff0000]folder site[/COLOR]/";
//$config['base_url']    = "[COLOR=#ff0000]Link của site[/COLOR]";

database.php

Code:
<?php
if(!defined('BASEPATH'))exit('No direct script access allowed');
$active_group = "default";
$active_record = TRUE;
#BEGIN: Database
$db['default']['hostname'] = "localhost";
$db['default']['username'] = "[COLOR=#ff0000]Tên SQL[/COLOR]";
$db['default']['password'] = "[COLOR=#ff0000]Mật Khẩu[/COLOR]";
$db['default']['database'] = "[COLOR=#ff0000]Tên Data[/COLOR]";
$db['default']['dbdriver'] = "mysql";
$db['default']['dbprefix'] = "tbtt_";
$db['default']['pconnect'] = TRUE;
$db['default']['db_debug'] = TRUE;
$db['default']['cache_on'] = FALSE;
$db['default']['cachedir'] = "system/cache";
$db['default']['char_set'] = "utf8";
$db['default']['dbcollat'] = "utf8_general_ci";
#END Database

Link vào cp: domain/name/administ

User / Pass : Administrator / 123456

Demo ảnh
tuoitrevnbiz02052013.jpg

tuoitrevnbiz02052013.jpg

tuoitrevnbiz02052013.jpg


Download tuoitreit.vn_24h.zip (4807.8 kb)
 

Facebook Comments

Similar threads

cuongpro9x
Replies
0
Views
2K
cuongpro9xcuongpro9x is verified member.
cuongpro9x
Admin
Replies
20
Views
13K
hieu0134
H
KhangSkull
Replies
1
Views
1K
kieutrang154
K
Admin
Replies
0
Views
2K
AdminAdmin is verified member.
Admin
Admin
Replies
0
Views
2K
AdminAdmin is verified member.
Admin
blog4me
Replies
0
Views
1K
blog4meblog4me is verified member.
blog4me
Admin
Replies
0
Views
994
AdminAdmin is verified member.
Admin
Admin
Replies
0
Views
1K
AdminAdmin is verified member.
Admin
Admin
Replies
13
Views
11K
tanthanh130793
tanthanh130793
Back
Top