Changeset 923
Legend:
- Unmodified
- Added
- Removed
-
trunk/xcache.c
r922 r923 3407 3407 (e.g. Windows 2000) */ 3408 3408 char dbghelpPath[_MAX_PATH]; 3409 const char *phpVersion;3410 3409 3411 3410 if (GetModuleFileName(NULL, dbghelpPath, _MAX_PATH)) { … … 3432 3431 } 3433 3432 3434 phpVersion = zend_get_module_version("core"); 3435 if (!phpVersion) { 3436 phpVersion = zend_get_module_version("standard"); 3437 if (!phpVersion) { 3438 phpVersion = "unknown"; 3439 } 3440 } 3441 sprintf(crash_dumpPath, "%s\\php-%s-xcache-%s-%lu-%lu.dmp", xc_coredump_dir, phpVersion, XCACHE_VERSION, (unsigned long) time(NULL), (unsigned long) GetCurrentProcessId()); 3433 #ifdef XCACHE_VERSION_REVISION 3434 #define REVISION "r" XCACHE_VERSION_REVISION 3435 #else 3436 #define REVISION "" 3437 #endif 3438 sprintf(crash_dumpPath, "%s\\php-%s-xcache-%s%s-%lu-%lu.dmp", xc_coredump_dir, zend_get_module_version("standard"), XCACHE_VERSION, REVISION , (unsigned long) time(NULL), (unsigned long) GetCurrentProcessId()); 3439 #undef REVISION 3442 3440 3443 3441 oldFilter = SetUnhandledExceptionFilter(&miniDumperFilter); … … 3583 3581 php_info_print_table_header(2, "XCache Support", "enabled"); 3584 3582 php_info_print_table_row(2, "Version", XCACHE_VERSION); 3583 #ifdef XCACHE_VERSION_REVISION 3584 php_info_print_table_row(2, "Revision", "r" XCACHE_VERSION_REVISION); 3585 #endif 3585 3586 php_info_print_table_row(2, "Modules Built", XCACHE_MODULES); 3586 3587 php_info_print_table_row(2, "Readonly Protection", xc_readonly_protection ? "enabled" : "N/A"); -
trunk/xcache.h
r917 r923 2 2 #define __XCACHE_H 3 3 #define XCACHE_NAME "XCache" 4 #define XCACHE_VERSION "2.0.0" 4 #ifndef XCACHE_VERSION 5 # define XCACHE_VERSION "2.0.1-dev" 6 #endif 5 7 #define XCACHE_AUTHOR "mOo" 6 8 #define XCACHE_COPYRIGHT "Copyright (c) 2005-2012"

