X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/699231ae09f7057a4d0000cdf32e50a3df6a04ca..9b5673a7aae863ab45c3b73460060352c5b3810b:/wp-app.php 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(