statics

Problems testing function url() with statics

For one of the testing party issues I ran across a problem trying to test the url function. The issue is located here:
http://drupal.org/node/296324

As posted over there my question is this:

I'm having problems doing this test... the problem is in the code of url:

static $script;
static $clean_url;

if (!isset($script)) {
// On some web servers, such as IIS, we can't omit "index.php". So, we
// generate "index.php?q=foo" instead of "?q=foo" on anything that is not
// Apache.

Login to post comments · Read more
Syndicate content