Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291123

no way to reset path variable

$
0
0

The function drupal_environment_initialize calls request_path but does not give any way to force the path variable to be reset. The proposed changes are:

add $opt to:
function drupal_environment_initialize($opt=0) {

change call to request path to add opt:
$_GET['q'] = request_path($opt);

and then change request path:

function request_path($opt=0) {
if (isset($path) && ! $opt) {
return $path;
}

The only people who would want this change would be anyone looking for the highest possible performance by running drupal inside an object storage system.


Viewing all articles
Browse latest Browse all 291123

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>