filenotstoredlocallyexception.php 436 B

12345678910111213141516
  1. <?php
  2. if (!defined('GNUSOCIAL')) { exit(1); }
  3. class FileNotStoredLocallyException extends ServerException
  4. {
  5. public $file = null;
  6. public function __construct(File $file)
  7. {
  8. $this->file = $file;
  9. common_debug('Requested local URL for a file that is not stored locally with id=='._ve($this->file->getID()));
  10. parent::__construct(_('Requested local URL for a file that is not stored locally.'));
  11. }
  12. }