Welcome Guest, Not a member yet? Register   Sign In
Empty validation_errors()
#4

[eluser]cloudboy82[/eluser]
I think this has something to do with hooks... I disabled hooks, and now everything works as it should...

Is there any way to get this to work with hooks enabled? Or is there a better way to auto-loading a header/footer onto each page?

Code:
$hook['post_controller_constructor'][] = array(
                                'class'    => 'Header',
                                'function' => 'index',
                                'filename' => 'header.php',
                                'filepath' => 'controllers',
                                'params'   => array()
                                );

$hook['post_controller'][] = array(
                                'class'    => 'Footer',
                                'function' => 'index',
                                'filename' => 'footer.php',
                                'filepath' => 'controllers',
                                'params'   => array()
                                );

I do this to load my header/footer.


Messages In This Thread
Empty validation_errors() - by El Forum - 06-11-2010, 08:31 AM
Empty validation_errors() - by El Forum - 06-11-2010, 08:42 AM
Empty validation_errors() - by El Forum - 06-11-2010, 08:49 AM
Empty validation_errors() - by El Forum - 06-11-2010, 09:09 AM
Empty validation_errors() - by El Forum - 06-11-2010, 09:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB