]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-app.php
Wordpress 3.2
[autoinstalls/wordpress.git] / wp-app.php
index c836e2f7d2150c32129dd79c8098adcca4e876c6..ec35b4120c2de2ba2964f5ed6e4f576713ea68aa 100644 (file)
@@ -216,14 +216,14 @@ class AtomServer {
        var $do_output = true;
 
        /**
-        * PHP4 constructor - Sets up object properties.
+        * Constructor - Sets up object properties.
         *
         * @since 2.2.0
         * @return AtomServer
         */
-       function AtomServer() {
+       function __construct() {
 
-               $this->script_name = array_pop( $var_by_ref = explode( '/', $_SERVER['SCRIPT_NAME'] ) );
+               $this->script_name = array_pop( explode( '/', $_SERVER['SCRIPT_NAME'] ) );
                $this->app_base = site_url( $this->script_name . '/' );
 
                $this->selectors = array(