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

PHP Code:
namespace App\Libraries;

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

use \
Smarty_Autoloader;

Smarty_Autoloader::register();

use \
Smarty;

class 
Yourclass extends Smarty {


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 x1250 - 02-10-2020, 07:27 PM



Theme © iAndrew 2016 - Forum software by © MyBB