Modular Separation - PHP5 (Modules) |
[eluser]wiredesignz[/eluser]
Modular Separation - PHP5 version 1.07 is attached to this post. Updated Modules::find() code in line with Modular Extensions - PHP5 version 5.2.27 EDIT: deprecated file removed
[eluser]Benedikt[/eluser]
Is there a documentation somewhere how to use it?
[eluser]wiredesignz[/eluser]
Documentation: Quote:Modular Separation allows you to use modules for code organization in your application.
[eluser]Unknown[/eluser]
Does it autoload all config files in the modules config directory? It seems like my application loads the config files twice. And looking in the log, the config class and language class is also loaded twice? And with global XSS filtering on, it filters twice too. Else, really nice work - i love it!
[eluser]Zandy[/eluser]
This is my steps: - extract a fresh CI 1.7.2 to local server and change the base url to respect my installation dir - hit a base url: Code: http://localhost/ci_test/ - extract a fresh (Modular Separation 17) and put MY_Loader.php and MY_Router.php in application/libraries -create a modules folder -create a "mymodule" folder into modules. .... Quote:application Code: class Welcome extends Controller i put the following url Quote:http://localhost/ci_test/index.php/mymodule/welcome and... Quote:A PHP Error was encountered whats wrong. /???x!?
[eluser]wiredesignz[/eluser]
@Zandy, You only need to post the first error. The other errors are caused by the first. Thanks. Check that you have your default controller set properly and that you are using a uri_protocol setting that works for your server. In any case I will release a patch to stop that error occuring, but it will not fix a faulty installation setup.
[eluser]wiredesignz[/eluser]
@Joakim Kejser, Look again, you will see that the Config and Language objects are initialized twice, they are not loaded twice. This is by design as the original classes are extended and replaced, ready to be used in modules. Yes, some config files are loaded from modules if they exist.
[eluser]wiredesignz[/eluser]
Modular Separation - PHP5 version 1.08 is attached to this post. Patched to prevent missing segment index error instead of page not found. EDIT: deprecated file removed
[eluser]Zandy[/eluser]
@wiredesignz : my default controller in routes.php is "welcome".... ($route['default_controller'] = "welcome" one questions!... This directory structure is correct. ??? Quote:─system <?php Code: class Welcome extends Controller { in module folder. only have one folder "controllers" ahh... i download the latest version (18) .....and now.. show 404 error message..???? greetings..! |
Welcome Guest, Not a member yet? Register Sign In |