From: Dave M. <da...@la...> - 2012-04-16 03:53:20
|
I'm trying to write a module that will loosen some of the restrictions from the kohana library Input.php gallery3/system/libraries/Input.php I see the gallery module overrides Input.php with: gallery3/modules/libraries/MY_Input.php In troubleshooting I have added a echo("test"); to the function in gallery3/modules/libraries/MY_Input.php and that works. So I know that function is overriding the gallery3/system/libraries/Input.php So far so good. I remove gallery3/modules/libraries/MY_Input.php and place it in my modules libraries directory and and activate my module and it does not work. gallery3/modules/floridave/libraries/MY_Input.php Why does this not work in the floridave module but does in the gallery module? Is there additional code required other than extending the class and renaming the file with MY_ prefix? Next question is can there be 2 MY_Input.php files that are read and used by the cascading kohana magic? Cheers! Dave |