Welcome Guest, Not a member yet? Register   Sign In
Custom libraries with custom config files ... how?
#4

[eluser]tomcode[/eluser]
Guess You should have the config filename lowercase : aw_forms.php

the CI default is :

1. Library : First letter uppercase, rest lowercase
2. config : lowercase

If CI works with lcfirst() then your config file needs to be named aW_forms.php (would be very bizzare).

autoloading the config file is senseless since CI is passing the data via the constructor, and only the data of the this specific config file.

Just to make sure : You have NOT exchanged in config/config.php:

Code:
$config['subclass_prefix'] = 'MY_';
//with
$config['subclass_prefix'] = 'AW_';

By the way, you can do also :
Code:
// a one liner array | object echo
echo '<pre>$params: ' .print_r($params, true) ."</pre>\n";

EDIT : you might try without autoloading, to be sure Smile


Messages In This Thread
Custom libraries with custom config files ... how? - by El Forum - 05-23-2009, 09:04 PM
Custom libraries with custom config files ... how? - by El Forum - 05-24-2009, 12:36 AM
Custom libraries with custom config files ... how? - by El Forum - 05-27-2009, 02:31 PM
Custom libraries with custom config files ... how? - by El Forum - 05-27-2009, 03:59 PM



Theme © iAndrew 2016 - Forum software by © MyBB