• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Documentation ? and Requests

#1
From https://www.codeigniter.com/user_guide/i...e_300.html

This not clear to me.  it says rename active_record ; but shows, active_group and a query_builder variable? 

Suggest edit[a) you need to add the following (if not there)
or
b)You need to change the following
or
3) This is what it looks like

Step 7: Update your config/database.php


Due to 3.0.0’s renaming of Active Record to Query Builder, inside your config/database.php, you will need to rename the 
Code:
$active_record

 variable to 

Code:
$query_builder

:

$active_group = 'default';
// $active_record = TRUE;
$query_builder = TRUE;
I wrote my first program in 15 minutes. It took me 3 hours to keypunch it.

I wrote my first BASH script in 5 minutes. It took me a day to find out I had to put a . (period) in front of it to get it to execute.
Reply

#2
If your use CodeIgniter 3.1.10 then you do not need to change anything, it has already been changes.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.