Welcome Guest, Not a member yet? Register   Sign In
replacing CI's log_message global function in common.php
#2

All functions in Common.php are wrapped with checks to see if the function exists. So the easiest way to override those methods is to modify index.php to load your file with the replacement functions. This will load your functions first, since the other functions are not loaded until the CodeIgniter.php file is loaded at the bottom of the index.php file.
Reply


Messages In This Thread
RE: replacing CI's log_message global function in common.php - by kilishan - 05-07-2016, 08:59 AM



Theme © iAndrew 2016 - Forum software by © MyBB