[vhffs-dev] [1722] Exit after template rendering.

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 1722
Author:   beuss
Date:     2011-05-14 11:33:45 +0200 (Sat, 14 May 2011)
Log Message:
-----------
Exit after template rendering.

Modified Paths:
--------------
    trunk/vhffs-api/src/Vhffs/Panel/Main.pm

Modified: trunk/vhffs-api/src/Vhffs/Panel/Main.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Panel/Main.pm	2011-05-14 08:15:37 UTC (rev 1721)
+++ trunk/vhffs-api/src/Vhffs/Panel/Main.pm	2011-05-14 09:33:45 UTC (rev 1722)
@@ -579,6 +579,8 @@
 
 If request was made through Ajax, no layout will be processed.
 
+B<This function never return>.
+
 =cut
 
 
@@ -671,7 +673,7 @@
 
 	$template->process($file, $vars) 
 		|| die('Error while processing template: '.$template->error());
-	
+    exit(0);
 }
 
 =pod


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/