Stack2RSS 1.0
A simple web application that creates an RSS feed given an API route.
|
00001 <?php 00002 00003 /// \file config.inc Determines some initial configuration information. 00004 00005 /// Contains the fully qualified domain name that is being used. 00006 define('CONFIG_DOMAIN', "http://{$_SERVER['SERVER_NAME']}" . (($_SERVER['SERVER_PORT'] != 80)? 00007 ':' . $_SERVER['SERVER_PORT']: 00008 '')); 00009 00010 /// Contains the full path to our current location relative to the document root. 00011 define('CONFIG_DOCUMENT_ROOT', substr($_SERVER['PHP_SELF'], 0, strrpos($_SERVER['PHP_SELF'], '/'))); 00012 00013 ?>