Page MenuHomestyx hydra

No OneTemporary

diff --git a/src/applications/files/application/PhabricatorApplicationFiles.php b/src/applications/files/application/PhabricatorApplicationFiles.php
index a895f5b751..9c8491a4ca 100644
--- a/src/applications/files/application/PhabricatorApplicationFiles.php
+++ b/src/applications/files/application/PhabricatorApplicationFiles.php
@@ -1,48 +1,52 @@
<?php
final class PhabricatorApplicationFiles extends PhabricatorApplication {
public function getBaseURI() {
return '/file/';
}
public function getShortDescription() {
return 'Store and Share Files';
}
public function getIconName() {
return 'files';
}
public function getTitleGlyph() {
return "\xE2\x87\xAA";
}
public function getFlavorText() {
return pht('Blob store for Pokemon pictures.');
}
public function getApplicationGroup() {
return self::GROUP_UTILITIES;
}
+ public function getQuickCreateURI() {
+ return $this->getBaseURI().'upload/';
+ }
+
public function getRoutes() {
return array(
'/F(?P<id>[1-9]\d*)' => 'PhabricatorFileShortcutController',
'/file/' => array(
'' => 'PhabricatorFileListController',
'filter/(?P<filter>\w+)/' => 'PhabricatorFileListController',
'upload/' => 'PhabricatorFileUploadController',
'dropupload/' => 'PhabricatorFileDropUploadController',
'delete/(?P<id>[1-9]\d*)/' => 'PhabricatorFileDeleteController',
'info/(?P<phid>[^/]+)/' => 'PhabricatorFileInfoController',
'data/(?P<key>[^/]+)/(?P<phid>[^/]+)/.*'
=> 'PhabricatorFileDataController',
'proxy/' => 'PhabricatorFileProxyController',
'xform/(?P<transform>[^/]+)/(?P<phid>[^/]+)/(?P<key>[^/]+)/'
=> 'PhabricatorFileTransformController',
),
);
}
}

File Metadata

Mime Type
text/x-diff
Expires
Mon, Dec 1, 12:48 AM (20 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
424649
Default Alt Text
(1 KB)

Event Timeline