Added the detection & logging of APC.

SVN:trunk[1168]
This commit is contained in:
Denis Flaven
2011-04-04 09:57:35 +00:00
parent 44f661cea4
commit 3a0be981d6

View File

@@ -113,7 +113,7 @@ function GetUploadTmpDir()
}
return $sPath;
}
/**
* Helper function to check if the current version of PHP
* is compatible with the application
@@ -290,6 +290,13 @@ function CheckPHPVersion(SetupWebPage $oP)
$oP->log_info("memory_limit is $iMemoryLimit, ok.");
}
}
// Special case for APC
if (extension_loaded('apc'))
{
$sAPCVersion = phpversion('apc');
$aOk[] = "APC detected (version $sAPCVersion). The APC cache will be used to speed-up iTop.";
}
if (!$bResult)
{