Welcome Guest, Not a member yet? Register   Sign In
How to load in custom library in ci4
#7

(02-10-2020, 07:27 PM)x1250 Wrote:
PHP Code:
namespace App\Libraries;

require_once 
APPPATH.'ThirdParty/Smarty/Autoloader.php';

use \
Smarty_Autoloader;

Smarty_Autoloader::register();

use \
Smarty;

class 
Yourclass extends Smarty {


May you remail bless Thank You!
Reply


Messages In This Thread
How to load in custom library in ci4 - by seunex - 11-01-2019, 02:52 AM
RE: How to load in custom library in ci4 - by seunex - 03-01-2020, 05:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB