Jump to content

 

The Tool

Member Since 30 Mar 2007
Offline Last Active Nov 24 2020 02:37 PM
*****

Topics I've Started

Cs-Cart Memory_Limit

17 January 2020 - 05:55 PM

Does anyone know where CSC sets the memory_limit?  It used to be in /config.local.php but it looks like they removed it in 4.9.2.

// Set maximum memory limit
if (PHP_INT_SIZE == 4 && (substr(ini_get('memory_limit'), 0, -1) < "64")) {
  // 32bit PHP
  @ini_set('memory_limit', '64M');
} elseif (PHP_INT_SIZE == 8 && (substr(ini_get('memory_limit'), 0, -1) < "256")) {
  // 64bit PHP
  @ini_set('memory_limit', '256M');
}