Changeset 264

Show
Ignore:
Timestamp:
08/06/06 22:44:23 (2 years ago)
Author:
bart
Message:

* Fix stupid bug (#159)
* Handle returning null instead of array (#156)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • eaccelerator/branches/0.9.5/ChangeLog

    r261 r264  
     12006-08-06  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be> 
     2 
     3        * Fix stupid bug (#159) 
     4        * Handle returning null instead of array (#156) 
     5 
    162006-08-03  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be> 
    27 
  • eaccelerator/branches/0.9.5/control.php

    r226 r264  
    5959} 
    6060$info = eaccelerator_info(); 
     61if (!is_array($info)) { 
     62        die('An error occured getting eAccelerator information, this is caused if eAccelerator isn\'t initalised properly'); 
     63} 
    6164/* }}} */ 
    6265 
  • eaccelerator/branches/0.9.5/ea_info.c

    r261 r264  
    498498PHP_FUNCTION(eaccelerator_list_keys) 
    499499{ 
    500         if (eaccelerator_mm_instance == NULL && eaccelerator_list_keys(return_value TSRMLS_CC)) { 
     500        if (eaccelerator_mm_instance != NULL && eaccelerator_list_keys(return_value TSRMLS_CC)) { 
    501501                return; 
    502502        } else {