Note: this list is kept only as a demonstration for CVSNotice. For the latest CVS notices, see the Xaraya and Postnuke sites
View Statistics - Next Notice - Previous NoticeDirectory filter : [ all ] / postnuke_official / html / includes [ view in CVS ]
Date | Directory [filter] | File(s) [view] | Author [filter] |
04 Aug 2002 03:50:01 | postnuke_official/html/includes | pnTemplate.php,1.41,1.42 | Carl P. Corliss |
adding an exception for pnModTemplate(...) |
Update of /home/cvsroot/postnuke_official/html/includes In directory ns7.hostnuke.net:/tmp/cvs-serv18495/html/includes Modified Files: pnTemplate.php Log Message: adding an exception for pnModTemplate(...) Index: pnTemplate.php =================================================================== RCS file: /home/cvsroot/postnuke_official/html/includes/pnTemplate.php,v retrieving revision 1.41 retrieving revision 1.42 diff -C2 -d -r1.41 -r1.42 *** pnTemplate.php 3 Aug 2002 02:59:06 -0000 1.41 --- pnTemplate.php 4 Aug 2002 03:49:59 -0000 1.42 *************** *** 646,652 **** } } ! ! extract($args, EXTR_OVERWRITE); ! ob_start(); include $template_file; --- 646,661 ---- } } ! ! // $args should be an array (-even-if- it only has one value in it), ! // if it's not throw an exception. ! if (is_array($args)) { ! extract($args, EXTR_OVERWRITE); ! } else { ! $msg = pnML('Could not locate template source for function \'#(1)\' in module \'#(2)\', missing file path is: \'#(3)\'.', $func, $moddir, $template_sourcefile); ! pnExceptionSet(PN_SYSTEM_EXCEPTION, 'UNKNOWN', ! new SystemException(__FILE__.'('.__LINE__.'): '.$msg)); ! return; ! } ! ob_start(); include $template_file;
View Statistics - Next Notice - Previous Notice
Visit Developer Site - Browse CVS Repository |
Syndicate via backend.rss (max. once per hour please) | Powered by CVSNotice 0.1.3 |