Example #1
0
 private function getPermissions()
 {
     $permissions = array();
     $files = array(SHOPGATE_BASE_DIR . '/config/myconfig.php', $this->config->getExportFolderPath(), $this->config->getLogFolderPath(), $this->config->getCacheFolderPath(), $this->config->getItemsCsvPath(), $this->config->getCategoriesCsvPath(), $this->config->getReviewsCsvPath(), $this->config->getItemsXmlPath(), $this->config->getCategoriesXmlPath(), $this->config->getAccessLogPath(), $this->config->getRequestLogPath(), $this->config->getErrorLogPath(), $this->config->getDebugLogPath(), $this->config->getRedirectKeywordCachePath(), $this->config->getRedirectSkipKeywordCachePath());
     foreach ($files as $file) {
         $permissions[] = $this->_getFileMeta($file, 1);
     }
     return $permissions;
 }