X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/4f9d63e13cd8c6e275797c75b401b074b82937bc..a7152b1f4c81650e5ba96ef07f9aa9c0fbc7752b:/wp-app.php?ds=sidebyside diff --git a/wp-app.php b/wp-app.php index f8feb372..f21c3c06 100644 --- a/wp-app.php +++ b/wp-app.php @@ -223,7 +223,7 @@ class AtomServer { */ function AtomServer() { - $this->script_name = array_pop(explode('/',$_SERVER['SCRIPT_NAME'])); + $this->script_name = array_pop( $var_by_ref = explode( '/', $_SERVER['SCRIPT_NAME'] ) ); $this->app_base = site_url( $this->script_name . '/' ); $this->selectors = array(