]> git.llucax.com Git - software/bife/base.git/blobdiff - src/BIFE/Link.php
Removed \n at the end of the file and added a VIM option to keep it as is.
[software/bife/base.git] / src / BIFE / Link.php
index 0929c3f8752dd45d71c6001c1eb35501c01e3b14..830d85bdf4de399a1ab852ee06c36d150904d3d6 100644 (file)
@@ -1,5 +1,5 @@
 <?php
-// vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4:
+// vim: set expandtab tabstop=4 shiftwidth=4 binary:
 // +--------------------------------------------------------------------+
 // |                       BIFE - Buil It FastEr                        |
 // +--------------------------------------------------------------------+
@@ -85,9 +85,6 @@ class BIFE_Link extends BIFE_Container {
     function getURL($attrs) // ~X2C
     {
         $url = @$attrs['URL'];
-        if (substr($url, strlen($url)-1) == '/') {
-            $url .= 'index.xbf'; // TODO - add a configuration option for this.
-        }
         unset($attrs['URL']);
         $query = array();
         foreach($attrs as $name => $value) {