CodeIgniter Forums

Full Version: access form_validation $config array
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]Ahmed Reda[/eluser]
how can i read the $config array in config/form_validation.php , without loading the form_validation librairie ?
is there a way to 'include' it and use it like a simple array ?

El Forum

[eluser]Twisted1919[/eluser]
Code:
$this->config->load('form_validation');

El Forum

[eluser]Ahmed Reda[/eluser]
i don't want to use the form_validation librairie, so i don't want to load it, i just want to have access to the $config variable inside the config/form_validation.php

is there a way to do that ?

thanks.

El Forum

[eluser]danmontgomery[/eluser]
[quote author="Twisted1919" date="1283202727"]
Code:
$this->config->load('form_validation');
[/quote]

El Forum

[eluser]Ahmed Reda[/eluser]
thanks