From 13877cb7190125e35bb4e467f0fe827d10334503 Mon Sep 17 00:00:00 2001 From: Marcello Coutinho Date: Wed, 19 Sep 2012 12:05:33 -0300 Subject: sarg - add missing sarg.inc changes to 0.6.1 --- config/sarg/sarg_frame.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'config/sarg/sarg_frame.php') diff --git a/config/sarg/sarg_frame.php b/config/sarg/sarg_frame.php index 04fb7f30..63cb3f3e 100755 --- a/config/sarg/sarg_frame.php +++ b/config/sarg/sarg_frame.php @@ -27,7 +27,10 @@ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ - +$uname=posix_uname(); +if ($uname['machine']=='amd64') + ini_set('memory_limit', '250M'); + if(preg_match("/(\S+)\W(\w+.html)/",$_REQUEST['file'],$matches)){ #https://192.168.1.1/sarg_reports.php?file=2012Mar30-2012Mar30/index.html $url=$matches[2]; -- cgit v1.2.3