Changeset 6620
- Timestamp:
- 10/05/06 13:14:22 (2 years ago)
- Files:
-
- wp-useronline/trunk/useronline/useronline.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
wp-useronline/trunk/useronline/useronline.php
r6555 r6620 47 47 add_action('wp_head', 'useronline_header'); 48 48 function useronline_header() { 49 if( isset($_SERVER['SCRIPT_NAME']) == true) {49 if(strpos($_SERVER['SCRIPT_NAME'], 'php.cgi') === false) { 50 50 $ajax_url = $_SERVER['SCRIPT_NAME']; 51 } else if(isset($_SERVER['PHP_SELF']) == true){51 } else { 52 52 $ajax_url = $_SERVER['PHP_SELF']; 53 } else {54 $ajax_url = '/index.php';55 53 } 56 54 echo '<script type="text/javascript">'."\n";
