• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Load Library in a Core Class 2019

#3
Thanks for your reply InsiteFX.

For example code, please refer to https://forum.codeigniter.com/thread-66524.html - we are doing the exact same thing as the OP there - for the meanwhile, we have successfully implemented PHPMailer as per some of the advice in that thread.

Our MY_Log.php is in the correct location, and extends the Log.php successfully.


The solution that we seek in this thread would be the same as for the other thread - as mentioned, there's no purpose in showing our code, because the starting point is the original code with a by-the-book extended core class, done identically to the older thread asking the same question - it's a few years later now, and we were hoping someone might have a solution for loading CodeIgniter's email library into a core class, without modifying CI against best-practices.
Reply


Messages In This Thread
Load Library in a Core Class 2019 - by 41As - 05-17-2019, 02:19 AM
RE: Load Library in a Core Class 2019 - by 41As - 05-17-2019, 07:41 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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