Welcome Guest, Not a member yet? Register   Sign In
APP_NAMESPACE do nothing..
#7

(This post was last modified: 06-28-2016, 11:02 AM by sv3tli0.)

I fixed my mistakes and its ok.
Perhaps the default setup for the app should be at the same app namespace as it is defined at the constant.

And if there is no namespace the constant APP_NAMESPACE should be false or null..

Its not logical to set default namespace for the app but at the same time your controllers to be without namespaces..
This way you can have 1 Controller without namespace and 1 with App\Controllers namespace at the same time at the same folder working together..
And this sounds as mess..


P.S > A big problem for the NONE NAMESPACE case will be Same Controller/Model classes ..
At CI 3 to fix that there were suffixes but inside the current version there are no suffixes and it will be a problem I believe ..
Best VPS Hosting : Digital Ocean
Reply


Messages In This Thread
APP_NAMESPACE do nothing.. - by sv3tli0 - 06-28-2016, 12:54 AM
RE: APP_NAMESPACE do nothing.. - by titounnes - 06-28-2016, 02:58 AM
RE: APP_NAMESPACE do nothing.. - by idealcastle - 06-28-2016, 04:54 AM
RE: APP_NAMESPACE do nothing.. - by kilishan - 06-28-2016, 06:23 AM
RE: APP_NAMESPACE do nothing.. - by kilishan - 06-28-2016, 06:24 AM
RE: APP_NAMESPACE do nothing.. - by titounnes - 06-28-2016, 07:35 AM
RE: APP_NAMESPACE do nothing.. - by sv3tli0 - 06-28-2016, 11:00 AM
RE: APP_NAMESPACE do nothing.. - by kilishan - 06-28-2016, 11:28 AM
RE: APP_NAMESPACE do nothing.. - by kilishan - 06-28-2016, 09:03 PM
RE: APP_NAMESPACE do nothing.. - by TenaciousC - 06-29-2016, 05:12 AM
RE: APP_NAMESPACE do nothing.. - by titounnes - 07-01-2016, 12:00 PM
RE: APP_NAMESPACE do nothing.. - by arma7x - 07-01-2016, 03:00 PM



Theme © iAndrew 2016 - Forum software by © MyBB