]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-app.php
Wordpress 3.0.1
[autoinstalls/wordpress.git] / wp-app.php
index f8feb372e2238aa0a53e95eab5bf0d0bb831446f..f21c3c0683ada6887b8ae796b7c3aa16150ce311 100644 (file)
@@ -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(