|
From: Greg M. <bli...@us...> - 2008-01-22 03:22:34
|
Update of /cvsroot/phpwebsite-comm/modules/featuredphoto/inc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7357/inc Modified Files: init.php Added Files: errorDefines.php settings.php Log Message: Added Flickr library and settings --- NEW FILE: errorDefines.php --- <?php /** * featuredphoto * * See docs/AUTHORS and docs/COPYRIGHT for relevant info. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program 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 General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * @author Greg Meiste <blindman1344 at users dot sourceforge dot net> * @version $Id: errorDefines.php,v 1.1 2008/01/22 03:22:37 blindman1344 Exp $ */ define('FEATUREDPHOTO_FLICKR_CMD_SEND_FAIL', -1); define('FEATUREDPHOTO_FLICKR_CMD_RESP_FAIL', -2); ?> Index: init.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/featuredphoto/inc/init.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** init.php 25 Jun 2006 16:09:45 -0000 1.2 --- init.php 22 Jan 2008 03:22:37 -0000 1.3 *************** *** 24,27 **** --- 24,28 ---- PHPWS_Core::configRequireOnce('featuredphoto', 'config.php'); + PHPWS_Core::requireInc('featuredphoto', 'errorDefines.php'); PHPWS_Core::initModClass('featuredphoto', 'runtime.php'); --- NEW FILE: settings.php --- <?php /** * featuredphoto * * See docs/AUTHORS and docs/COPYRIGHT for relevant info. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program 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 General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * @author Greg Meiste <blindman1344 at users dot sourceforge dot net> * @version $Id: settings.php,v 1.1 2008/01/22 03:22:37 blindman1344 Exp $ */ $settings = array('flickr_support' => 0, 'flickr_api_key' => '', 'flickr_username' => ''); ?> |