|
From: Greg M. <bli...@us...> - 2008-07-12 02:45:35
|
Update of /cvsroot/phpwebsite-comm/modules/poll In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9517 Modified Files: index.php Log Message: Now using mod_rewrite, added cacheQueries and addSortHeader, and saving a poll now sets manage tab. Index: index.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/poll/index.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** index.php 28 May 2007 20:52:42 -0000 1.5 --- index.php 12 Jul 2008 02:45:12 -0000 1.6 *************** *** 31,34 **** --- 31,41 ---- PHPWS_Core::initModClass('poll', 'user.php'); + /* mod_rewrite support */ + if (isset($_GET['var1']) && is_numeric($_GET['var1'])) + { + $_REQUEST['user'] = 'result'; + $_REQUEST['poll_id'] = $_GET['var1']; + } + if (isset($_REQUEST['user'])) { |