Page MenuHomeDevCentral

D1172.diff
No OneTemporary

D1172.diff

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

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)

Event Timeline