Post by Danndy » Sun Jan 06, 2019 10:54 pm

Hello there!

I have a little problem. I just created my own library class FtpsConnect.php and place it into system/library directory, right next to cart.php, customer.php etc. but OpenCart wont autoload this new class. When i try to create object like

Code: Select all

$obj = new FtpsConnect();
i get error Class 'FtpsConnect' not found and it is because OpenCart do not load this class in startup.php adn im asking why? Why OpenCart dont load this class in the same way like cart.php customer.php? When i load my library class manually with require_once function, it is working well.

Thanks

Newbie

Posts

Joined
Fri Sep 29, 2017 4:42 pm

User avatar
Active Member

Posts

Joined
Mon Mar 28, 2011 4:08 pm
Location - UK
Who is online

Users browsing this forum: No registered users and 112 guests