* This software is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this software; if not, write to the Free * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA * 02110-1301 USA, or see the FSF site: http://www.fsf.org. ******************************************************************************/ // app settings class Config { public static $api_key = 'CHANGEME'; public static $secret = 'CHANGEME'; // Configure Database public static $db_ip = 'localhost:3306'; public static $db_name = 'ringside_db'; public static $db_user = '******'; public static $db_pass = '******'; public static $ringsideWeb = ''; public static $ringsideApi = ''; } $GLOBALS['facebook_config']['debug'] = 0; # This is used for the client to give back appropriate URLS. # $webUrl = The Web page url to return to an application Config::$ringsideWeb = "http://{$_SERVER['SERVER_NAME']}:{$_SERVER['SERVER_PORT']}/"; # $serverUrl = The URL including rest endpoint for the REST SERVER to talk to. # if this is not a full install or packaged install you might need to change $webRoot to the location # of the API server. Config::$ringsideApi = "http://{$_SERVER['SERVER_NAME']}:{$_SERVER['SERVER_PORT']}/restserver.php";