/** * Do we have write rights to the modules folders? * * @return bool */ private function isWritable() { // check if writable if (!BackendExtensionsModel::isWritable(FRONTEND_PATH . '/themes')) { return false; } // everything is writeable return true; }
/** * Do we have write rights to the modules folders? * * @return bool */ private function isWritable() { // check if writable if (!BackendExtensionsModel::isWritable(FRONTEND_MODULES_PATH)) { return false; } if (!BackendExtensionsModel::isWritable(BACKEND_MODULES_PATH)) { return false; } // everything is writeable return true; }