View Single Post
Old 08-01-2016, 01:05 PM   #1300
Freakeao
Connoisseur
Freakeao began at the beginning.
 
Posts: 51
Karma: 10
Join Date: Nov 2012
Device: none
I did a little digging around in the code and found what changed.

in base.php there is a new function getScriptName

PHP Code:
      public function getScriptName() {
          
$parts explode('/'$_SERVER["SCRIPT_NAME"]);
          return 
$parts[count($parts) - 1];
      } 
I changed to to what was happening in the previous version of the code.

PHP Code:
      public function getScriptName() {
          
#$parts = explode('/', $_SERVER["SCRIPT_NAME"]);
          #return $parts[count($parts) - 1];
          
return $_SERVER["SCRIPT_NAME"];
      } 
And now the feed.php output has the directory in the links and the FBReader OPDS client is happy again.
Freakeao is offline   Reply With Quote