We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Something wierd in code execution sequence [Solved] | Forum

Topic location: Forum home » Support » General Questions
Alireza Ghadimi
Alireza Ghadimi Mar 15 '14
Hello everyone;

I'm playing with Oxwall core code for a while in order to customize it for my own project. There is something in code that makes me confused.
As you know, we can enable "maintenance" mode in OW_Application->handleRequest() function which is executed after the code that reads $_SERVER['REQUEST_URI'] in OW_Request->getRequestUri(). But $_SERVER['REQUEST_URI'] is set to maintenance uri!!! This is just like a magic.

How this is possible?
Where $_SERVER['REQUEST_URI'] is set?
Is this related to "output buffering" (ob_) capabilities enabled in Oxwall?

Thanks beforehand. :-)
The Forum post is edited by ross Mar 17 '14
Alireza Ghadimi
Alireza Ghadimi Mar 16 '14
Anybody could help me? :-)
Alireza Ghadimi
Alireza Ghadimi Mar 16 '14
Problem solved! :-)