Changeset 26 for trunk/cluster_status.php
- Timestamp:
- Jan 19, 2017, 12:01:07 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cluster_status.php
r25 r26 4 4 include "$us3bin/listen-config.php"; 5 5 6 if ( ! preg_match( "/ localhost/", $dbhost) )6 if ( ! preg_match( "/_local/", $class_dir ) ) 7 7 { 8 8 $xml = get_data(); … … 18 18 foreach ( $data as $item ) 19 19 { 20 update( $item[ 'cluster' ], $item[ 'queued' ], $item[ 'status' ], $item[ 'running' ] ); 20 if ( ! preg_match( "/error/", $item[ 'running' ] ) ) 21 update( $item[ 'cluster' ], $item[ 'queued' ], $item[ 'status' ], $item[ 'running' ] ); 21 22 } 22 23 … … 170 171 global $dbhost; 171 172 global $org_domain; 172 173 if ( preg_match( "/localhost/", $dbhost ) ) 173 global $class_dir; 174 175 if ( preg_match( "/_local/", $class_dir ) ) 174 176 { 175 177 if ( preg_match( "/attlocal/", $org_domain ) )
Note:
See TracChangeset
for help on using the changeset viewer.