• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to overwrite pagination

#1
Hi,
I need to make some changes in pagination and for this copied file
system/libraries/Pagination.php and copied it into
application/core/Pagination.php
and I made changes I need in last file, but these changes were not applied.
Which is the correct way ?


PHP Code:
CI_VERSION:3.1.2  


Thanks!
Reply

#2
Move/rename your copy to application/libraries/MY_Pagination.php

See https://www.codeigniter.com/user_guide/g...r-versions
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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