[eluser]Maglok[/eluser]
To do what? That points to my CI root which looks like this:
Code:
CI/
CI/forum
CI/system/ <-- normal CI dirs
CI/images
etc
At the moment I tried to create a library. I can autoload it, but I cannot use any of the functions in it, like so:
Code:
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter
*
* Wrapper class for SSI.php to call functions from within CI by loading as a library
*/
class SMF {
require_once('forum/SSI.php');
/**
* Constructor
*/
function SMF()
{
log_message('debug', "SMF library Initialized");
}
// --------------------------------------------------------------------
/**
* SSI_welcome wrapper
*/
function smf_welcome($output_method = 'echo') {
ssi_welcome($output_method);
}
// --------------------------------------------------------------------
}
// END SMF library
I can't call it after I autoload the library and then use smf_welcome() though.