Skip to content

Instantly share code, notes, and snippets.

@krisanalfa
Created October 31, 2013 09:56
Show Gist options
  • Save krisanalfa/7247152 to your computer and use it in GitHub Desktop.
Save krisanalfa/7247152 to your computer and use it in GitHub Desktop.
eAccelerator Patch
--- eaccelerator.orig 2013-10-31 16:51:48.000000000 +0700
+++ eaccelerator.c 2013-10-31 16:52:20.000000000 +0700
@@ -63,7 +63,7 @@
#include "php.h"
#include "php_ini.h"
-#include "php_logos.h"
+/*#include "php_logos.h"*/
#include "main/fopen_wrappers.h"
#include "ext/standard/info.h"
#include "ext/standard/php_incomplete_class.h"
@@ -2269,8 +2269,8 @@
}
}
- php_register_info_logo(EACCELERATOR_VERSION_GUID, "text/plain", (unsigned char*)EACCELERATOR_VERSION_STRING, sizeof(EACCELERATOR_VERSION_STRING));
- php_register_info_logo(EACCELERATOR_LOGO_GUID, "image/gif", (unsigned char*)eaccelerator_logo, sizeof(eaccelerator_logo));
+ /*php_register_info_logo(EACCELERATOR_VERSION_GUID, "text/plain", (unsigned char*)EACCELERATOR_VERSION_STRING, sizeof(EACCELERATOR_VERSION_STRING));
+ php_register_info_logo(EACCELERATOR_LOGO_GUID, "image/gif", (unsigned char*)eaccelerator_logo, sizeof(eaccelerator_logo));*/
return SUCCESS;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment