Welcome Guest, Not a member yet? Register   Sign In
Inherited an CI project and am pretty lost with it.
#12

YESSSS! Got it "working".

As suspected, the issue was with routing and with some effort I managed to figure out that the missing key in configs was this line:
PHP Code:
/*
|--------------------------------------------------------------------------
| URI PROTOCOL
|--------------------------------------------------------------------------
|
| This item determines which server global should be used to retrieve the
| URI string.  The default setting of "AUTO" works for most servers.
| If your links do not seem to work, try one of the other delicious flavors:
|
| 'AUTO'            Default - auto detects
| 'PATH_INFO'        Uses the PATH_INFO
| 'QUERY_STRING'    Uses the QUERY_STRING
| 'REQUEST_URI'        Uses the REQUEST_URI
| 'ORIG_PATH_INFO'    Uses the ORIG_PATH_INFO
|
*/
$config['uri_protocol']    = "REQUEST_URI"

I had to change the protocol to use request. 

So now I can actually start to reverse-engineer this to see how things work and possibly make some changes customer wanted in the first place.

First strange thing I noticed, was the use of external ACL database. There's an folder named phpgacl that seems to be responsible for access control, I have yet to figure out why this has been done this way, I would think that that's something an framework do for you?

Hmm.. now there's also the question of to upgrade or not? Should I just make some minor changes that customer wanted or should I first try and get this to somewhat recent release? Recommendations?

Thanks for all your help already!

/ Janne
Reply


Messages In This Thread
RE: Inherited an CI project and am pretty lost with it. - by Janne - 04-02-2019, 12:44 AM



Theme © iAndrew 2016 - Forum software by © MyBB