mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 02:28:44 +02:00
Added the detection & logging of APC.
SVN:trunk[1168]
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user