コード例 #1
0
 protected function checkService()
 {
     $passed = true;
     $debugWritable = InstallUtil::isDebugConfigWritable(INSTANCE_ROOT);
     if ($debugWritable) {
         $this->message = Zurmo::t('InstallModule', 'The debug.php config file is writable.');
     } else {
         $this->message = Zurmo::t('InstallModule', 'The debug.php config file is not writable.');
         $passed = false;
     }
     $perInstanceWritable = InstallUtil::isPerInstanceConfigWritable(INSTANCE_ROOT);
     if ($perInstanceWritable) {
         $this->message .= "\n" . Zurmo::t('InstallModule', 'The perInstance.php config file is writable.');
     } else {
         $this->message .= "\n" . Zurmo::t('InstallModule', 'The perInstance.php config file is not writable.');
         $passed = false;
     }
     return $passed;
 }