filenotstoredlocallyexception.php 420 B

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