|
CVS: phpwiki/lib WikiDB.php,1.123,1.124: msg#00183web.wiki.phpwiki.checkins
Update of /cvsroot/phpwiki/phpwiki/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5988 Modified Files: WikiDB.php Log Message: protect against empty request: on some occasion this happens Index: WikiDB.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/lib/WikiDB.php,v retrieving revision 1.123 retrieving revision 1.124 diff -u -2 -b -p -d -r1.123 -r1.124 --- WikiDB.php 25 Jan 2005 06:58:21 -0000 1.123 +++ WikiDB.php 29 Jan 2005 20:43:32 -0000 1.124 @@ -117,5 +117,5 @@ class WikiDB { $this->_cache = new WikiDB_cache($backend); - $GLOBALS['request']->_dbi = $this; + if (!empty($GLOBALS['request'])) $GLOBALS['request']->_dbi = $this; // If the database doesn't yet have a timestamp, initialize it now. @@ -2140,4 +2140,7 @@ function _sql_debuglog_shutdown_function // $Log$ +// Revision 1.124 2005/01/29 20:43:32 rurban +// protect against empty request: on some occasion this happens +// // Revision 1.123 2005/01/25 06:58:21 rurban // reformatting ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | CVS: phpwiki/lib main.php,1.204,1.205: 00183, Reini Urban |
|---|---|
| Next by Date: | CVS: phpwiki/lib BlockParser.php,1.53,1.54: 00183, Reini Urban |
| Previous by Thread: | CVS: phpwiki/lib main.php,1.204,1.205i: 00183, Reini Urban |
| Next by Thread: | CVS: phpwiki/lib BlockParser.php,1.53,1.54: 00183, Reini Urban |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |