Welcome Guest, Not a member yet? Register   Sign In
Accessing PHP library in CI4
#5

Thank you for your answer! It really helped me a lot.

This is how I solved my problem:

I just added those classes into Autoload $classmap:

it looks like this now:



PHP Code:
    public $classmap = [
        
'WebToPay'   => 'libwebtopay/WebToPay.php',
        
'WebToPayException'   => 'libwebtopay/WebToPay.php',
    ]; 

Let me know if it's ok to use it this way.

But at least it works fine now.
Reply


Messages In This Thread
Accessing PHP library in CI4 - by Hexes - 10-27-2020, 04:06 PM
RE: Accessing PHP library in CI4 - by Hexes - 10-28-2020, 02:14 AM
RE: Accessing PHP library in CI4 - by Hexes - 10-28-2020, 07:21 AM



Theme © iAndrew 2016 - Forum software by © MyBB