summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/dwpage.php3
-rwxr-xr-xbin/indexer.php1
-rwxr-xr-xbin/wantedpages.php2
3 files changed, 4 insertions, 2 deletions
diff --git a/bin/dwpage.php b/bin/dwpage.php
index f27a67c4c..f664770bf 100755
--- a/bin/dwpage.php
+++ b/bin/dwpage.php
@@ -1,8 +1,9 @@
-#!/usr/bin/php -d short_open_tag=on
+#!/usr/bin/php
<?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';
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');
diff --git a/bin/wantedpages.php b/bin/wantedpages.php
index aa0e1818d..c8b7153b2 100755
--- a/bin/wantedpages.php
+++ b/bin/wantedpages.php
@@ -1,4 +1,4 @@
-#!/usr/bin/php -d short_open_tag=on
+#!/usr/bin/php
<?php
if ('cli' != php_sapi_name()) die();