We apologize for the instability of composr.app and appreciate your patience. We are working on the statistics addon and trying to find an optimal way to store and render data. Unfortunately, we have yet to find a solution that can handle the traffic (and therefore, tens of millions of statistical records) of composr.app. We're working hard on one.
I have updated tut_tempcode to better explain the point of:
- $BASE_URL_NOHTTP
- $FIND_SCRIPT_NOHTTP
- $IMG used in conjunction with $util.srl
In all cases it allows provides when running both HTTPS and HTTP together.
In the case of $FIND_SCRIPT_NOHTTP it also provides safety for multi-domain environments.
Composr uses absolute URLs throughout, to radically simplify things, such as not having to be knowing where you're relative to, the need for portable context-free code, and the need for PHP itself to call up URLs outside any context.
This is fine and dandy in all situations except JS, which has it's various sandboxing limitations.
(Click to enlarge)
#3526 - $util.srl must be used consistently
- $BASE_URL_NOHTTP
- $FIND_SCRIPT_NOHTTP
- $IMG used in conjunction with $util.srl
In all cases it allows provides when running both HTTPS and HTTP together.
In the case of $FIND_SCRIPT_NOHTTP it also provides safety for multi-domain environments.
Composr uses absolute URLs throughout, to radically simplify things, such as not having to be knowing where you're relative to, the need for portable context-free code, and the need for PHP itself to call up URLs outside any context.
This is fine and dandy in all situations except JS, which has it's various sandboxing limitations.