Esempio n. 1
0
 /**
  * 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;
 }
Esempio n. 2
0
 /**
  * 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;
 }