Accessing 3rd party libs in the Portal

Tags: 

Hello,

I have added both nusoap and another lib to the /customer/lib/ directory and when trying to load the classes in a custom controller it just blanks out.. I am not able to tell where the issue is.

Any thoughts?

For example the "Slim" lib:

function __construct()
{
parent::__construct();

try{
$this->load->library('Slim');
}catch(exception $e){
print $e->getMessage();
}

yields nothing.

slim is in the following directory Structure:
/customer/libraries/slim/Slim.php

and the class is titled:

namespace Custom\Libraries;

class Slim
{

Comments

$this->load->library('slim/Slim');

The load function (which is inherent to the CodeIgniter framework which CP is based on) handles directories, too.

Zircon - This is a contributing Drupal Theme
Design by WeebPal.