protected function checkService() { $passed = true; $applicationLogWritable = InstallUtil::isApplicationLogRuntimeWritable(INSTANCE_ROOT); if ($applicationLogWritable) { $this->message = Zurmo::t('InstallModule', 'The application.log runtime file is writable.'); } else { $this->message = Zurmo::t('InstallModule', 'The application.log runtime file is not writable.'); $passed = false; } if (!extension_loaded('apc')) { $minScriptCacheDirectoryWritable = InstallUtil::isMinScriptCacheRuntimeDirectoryWritable(INSTANCE_ROOT); if ($minScriptCacheDirectoryWritable) { $this->message .= "\n" . Zurmo::t('InstallModule', 'The /minScript/cache runtime directory is writable.'); } else { $this->message .= "\n" . Zurmo::t('InstallModule', 'The /minScript/cache runtime directory is not writable.'); $passed = false; } } $debugExists = InstallUtil::doesDebugConfigExist(INSTANCE_ROOT); if ($debugExists) { $this->message .= "\n" . Zurmo::t('InstallModule', 'The debug.php file is present.'); } else { $this->message .= "\n" . Zurmo::t('InstallModule', 'The debug.php file is not present.'); $passed = false; } return $passed; }