diff --git a/core/Configuration/Configuration.class.php b/core/Configuration/Configuration.class.php
index 0a0bca3..6bdc816 100644
--- a/core/Configuration/Configuration.class.php
+++ b/core/Configuration/Configuration.class.php
@@ -121,24 +121,6 @@ class Configuration {
return true;
}
-
- public static function checkPermissions() {
- $classes = array(
- \Configuration\Database::class,
- \Configuration\Mail::class,
- \Configuration\JWT::class
- );
-
- $files = array();
- foreach($classes as $class) {
- $file = getClassPath($class);
- if(!is_writeable($file)) {
- $files[] = $file;
- }
- }
-
- return $files;
- }
};
?>
diff --git a/core/Documents/Install.class.php b/core/Documents/Install.class.php
index 83dabdc..56cbb76 100644
--- a/core/Documents/Install.class.php
+++ b/core/Documents/Install.class.php
@@ -130,12 +130,10 @@ namespace Documents\Install {
$success = true;
$failedRequirements = array();
- $unwriteableFiles = \Configuration\Configuration::checkPermissions();
- if(!empty($unwriteableFiles)) {
- foreach($unwriteableFiles as $file) {
- $failedRequirements[] = "$file is not writeable. Try running chmod 600";
- $success = false;
- }
+ $configDir = "core/Configuration/";
+ if(!is_writeable($configDir)) {
+ $failedRequirements[] = "$configDir is not writeable. Try running chmod 755";
+ $success = false;
}
if(version_compare(PHP_VERSION, '7.1', '<')) {