Changeset 13427 for trunk/wp-app.php
- Timestamp:
- 02/26/2010 06:21:47 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-app.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-app.php
r13377 r13427 225 225 226 226 $this->script_name = array_pop(explode('/',$_SERVER['SCRIPT_NAME'])); 227 $this->app_base = get_bloginfo('url') . '/' . $this->script_name . '/'; 228 if ( isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on' ) { 229 $this->app_base = preg_replace( '/^http:\/\//', 'https://', $this->app_base ); 230 } 227 $this->app_base = home_url( $this->script_name . '/' ); 231 228 232 229 $this->selectors = array(
Note: See TracChangeset
for help on using the changeset viewer.