Page MenuHomeDevCentral

D1172.id2994.diff
No OneTemporary

D1172.id2994.diff

diff --git a/includes/document.php b/includes/document.php
--- a/includes/document.php
+++ b/includes/document.php
@@ -156,12 +156,10 @@
//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->extension = strtolower($pathinfo['extension']);
+ $this->topic = str_replace('/', '-', $pathinfo['dirname']);
+ $this->article = $pathinfo['filename']; //PHP 5.2.0+
$this->title = "[$this->article]";
+ $this->extension = strtolower($pathinfo['extension']);
//Fills info from _documents.xml
$this->get_description();

File Metadata

Mime Type
text/plain
Expires
Mon, Jun 9, 07:11 (18 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2715831
Default Alt Text
D1172.id2994.diff (784 B)

Event Timeline