Make WordPress Core


Ignore:
Timestamp:
07/25/2010 07:34:49 AM (14 years ago)
Author:
nacin
Message:

More curses on PHP 5.0.5. see #13757, fixes #14160. for 3.0.1.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/wp-app.php

    r14949 r15470  
    224224    function AtomServer() {
    225225
    226         $this->script_name = array_pop(explode('/',$_SERVER['SCRIPT_NAME']));
     226        $this->script_name = array_pop( $var_by_ref = explode( '/', $_SERVER['SCRIPT_NAME'] ) );
    227227        $this->app_base = site_url( $this->script_name . '/' );
    228228
Note: See TracChangeset for help on using the changeset viewer.