You are here:  » Feed Registration


Feed Registration

Submitted by searley on Sat, 2006-04-01 06:48 in

I have a couple of files stored in the feeds directory for example download.php that downloads data feeds.

Is it possible to get the feeds registration screen not to show this file, or possibly to ignore files ending in .php ?

Submitted by support on Sat, 2006-04-01 06:53

In admin/index.php (line 87); there is a test to block out the "." and ".." at the top of the loop that displays the admin table for each file...

<?php
  
if (substr($filename,0,1) <> ".")
?>

If you change that line to also block anything with ".php" in it; that should do what you want, something like this:

<?php
  
if ((substr($filename,0,1) <> ".") && (!strpos($filename,".php")))
?>

That should do the trick...