WordPress.org

Make WordPress Core

Changeset 15471 for trunk/wp-app.php


Ignore:
Timestamp:
07/25/2010 07:35:59 AM (10 years ago)
Author:
nacin
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-app.php

    r14949 r15471  
    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.