Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F4793493
D1172.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
642 B
Referenced Files
None
Subscribers
None
D1172.diff
View Options
diff --git a/includes/document.php b/includes/document.php
--- a/includes/document.php
+++ b/includes/document.php
@@ -156,10 +156,8 @@
//Fills info from URL
$pathinfo = pathinfo($this->url);
- if (!$this->is_homepage()) {
- $this->topic = str_replace('/', '-', $pathinfo['dirname']);
- $this->article = $pathinfo['filename']; //PHP 5.2.0+
- }
+ $this->topic = str_replace('/', '-', $pathinfo['dirname']);
+ $this->article = $pathinfo['filename']; //PHP 5.2.0+
$this->extension = strtolower($pathinfo['extension']);
$this->title = "[$this->article]";
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Feb 27, 21:53 (20 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2447905
Default Alt Text
D1172.diff (642 B)
Attached To
Mode
D1172: Treat homepage like a regular page
Attached
Detach File
Event Timeline
Log In to Comment