SOURCES: drupal-locale-memory.patch (NEW) - increase memory limit ...
glen
glen at pld-linux.org
Wed Jan 4 15:16:42 CET 2006
Author: glen Date: Wed Jan 4 14:16:42 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- increase memory limit when importing .po files
---- Files affected:
SOURCES:
drupal-locale-memory.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/drupal-locale-memory.patch
diff -u /dev/null SOURCES/drupal-locale-memory.patch:1.1
--- /dev/null Wed Jan 4 15:16:42 2006
+++ SOURCES/drupal-locale-memory.patch Wed Jan 4 15:16:37 2006
@@ -0,0 +1,10 @@
+--- drupal-4.6.5/includes/locale.inc 2005-07-29 22:01:17.000000000 +0300
++++ /tmp/locale.inc 2006-01-03 11:05:40.000000000 +0200
+@@ -122,6 +122,7 @@
+ // If not in 'safe mode', increase the maximum execution time:
+ if (!ini_get('safe_mode')) {
+ set_time_limit(240);
++ ini_set('memory_limit', '128M');
+ }
+
+ // Check if we have the language already in the database
================================================================
More information about the pld-cvs-commit
mailing list