Esempio n. 1
0
 /**
  * Get valid file system storage root
  *
  * @return string
  */
 protected function getValidFileSystemRoot()
 {
     $path = parent::getValidFileSystemRoot();
     if (!file_exists($path . LC_DS . '.htaccess')) {
         file_put_contents($path . LC_DS . '.htaccess', 'Options -Indexes' . PHP_EOL . 'Allow from all' . PHP_EOL);
     }
     return $path;
 }