scripts.mit.edu
/
autoinstalls
/
wordpress.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Wordpress 3.3.1-scripts
[autoinstalls/wordpress.git]
/
wp-app.php
diff --git
a/wp-app.php
b/wp-app.php
index c836e2f7d2150c32129dd79c8098adcca4e876c6..323f832a8ba1d48e00f83f606cdc126d99abc56e 100644
(file)
--- a/
wp-app.php
+++ b/
wp-app.php
@@
-216,14
+216,15
@@
class AtomServer {
var $do_output = true;
/**
var $do_output = true;
/**
- *
PHP4 c
onstructor - Sets up object properties.
+ *
C
onstructor - Sets up object properties.
*
* @since 2.2.0
* @return AtomServer
*/
*
* @since 2.2.0
* @return AtomServer
*/
- function
AtomServer
() {
+ function
__construct
() {
- $this->script_name = array_pop( $var_by_ref = explode( '/', $_SERVER['SCRIPT_NAME'] ) );
+ $var_by_ref = explode( '/', $_SERVER['SCRIPT_NAME'] );
+ $this->script_name = array_pop( $var_by_ref );
$this->app_base = site_url( $this->script_name . '/' );
$this->selectors = array(
$this->app_base = site_url( $this->script_name . '/' );
$this->selectors = array(