diff options
author | Elan Ruusamäe <glen@delfi.ee> | 2009-09-04 23:15:55 +0200 |
---|---|---|
committer | Elan Ruusamäe <glen@delfi.ee> | 2009-09-04 23:15:55 +0200 |
commit | 50b78159167ceda0f0364d946fc95ac09b091e30 (patch) | |
tree | cfe1e5ceabb0a1db0d989161a460f9c7d3f2a4e6 /bin/indexer.php | |
parent | 7ba342d55245962d127346c1b78f5885e8f567e7 (diff) | |
download | rpg-50b78159167ceda0f0364d946fc95ac09b091e30.tar.gz rpg-50b78159167ceda0f0364d946fc95ac09b091e30.tar.bz2 |
set memory limit and unify php call in CLI apps
Ignore-this: 1132d10ee32a2a68ddc1929c428e708
- short open tag shouldn't be needed anymore
- CLI memory limits a too low usually
darcs-hash:20090904211555-99ed5-bd19873bdc2b10c61b9365f9c5ad9409a4131e41.gz
Diffstat (limited to 'bin/indexer.php')
-rwxr-xr-x | bin/indexer.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/indexer.php b/bin/indexer.php index 77ff5ef85..55f3608d5 100755 --- a/bin/indexer.php +++ b/bin/indexer.php @@ -2,6 +2,7 @@ <?php if ('cli' != php_sapi_name()) die(); +ini_set('memory_limit','128M'); if(!defined('DOKU_INC')) define('DOKU_INC',realpath(dirname(__FILE__).'/../').'/'); require_once(DOKU_INC.'inc/init.php'); require_once(DOKU_INC.'inc/common.php'); |