Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13996385
D10332.id24873.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
950 B
Referenced Files
None
Subscribers
None
D10332.id24873.diff
View Options
diff --git a/src/applications/diffusion/controller/DiffusionSymbolController.php b/src/applications/diffusion/controller/DiffusionSymbolController.php
--- a/src/applications/diffusion/controller/DiffusionSymbolController.php
+++ b/src/applications/diffusion/controller/DiffusionSymbolController.php
@@ -57,6 +57,7 @@
$functions = get_defined_functions();
if (in_array($this->name, $functions['internal'])) {
return id(new AphrontRedirectResponse())
+ ->setIsExternal(true)
->setURI('http://www.php.net/function.'.$this->name);
}
}
@@ -65,6 +66,7 @@
interface_exists($this->name, false)) {
if (id(new ReflectionClass($this->name))->isInternal()) {
return id(new AphrontRedirectResponse())
+ ->setIsExternal(true)
->setURI('http://www.php.net/class.'.$this->name);
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Oct 24, 8:46 PM (3 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6714870
Default Alt Text
D10332.id24873.diff (950 B)
Attached To
Mode
D10332: Mark redirects to php.net from symbols as external
Attached
Detach File
Event Timeline
Log In to Comment