cvs: docweb /scripts notes_stats_output.php

[email protected] ("Sean Coates")
Newsgroups php.doc.web
Message-ID <cvssean1123086960@cvsserver>
sean		Wed Aug  3 12:36:00 2005 EDT

  Modified files:              
    /docweb/scripts	notes_stats_output.php 
  Log:
  add raw output (for integration -- Zend Who's Who, for example)
  
http://cvs.php.net/diff.php/docweb/scripts/notes_stats_output.php?r1=1.7&r2=1.8&ty=u
Index: docweb/scripts/notes_stats_output.php
diff -u docweb/scripts/notes_stats_output.php:1.7 docweb/scripts/notes_stats_output.php:1.8
--- docweb/scripts/notes_stats_output.php:1.7	Sun Jul 31 20:59:05 2005
+++ docweb/scripts/notes_stats_output.php	Wed Aug  3 12:36:00 2005
@@ -16,7 +16,7 @@
 | Authors: Vincent Gevers <[email protected]>                            |
 |          Sean Coates <[email protected]>                                  |
 +----------------------------------------------------------------------+
-$Id: notes_stats_output.php,v 1.7 2005/08/01 00:59:05 sean Exp $
+$Id: notes_stats_output.php,v 1.8 2005/08/03 16:36:00 sean Exp $
 */
 
 // config comes from notes_stats.php
@@ -67,6 +67,9 @@
 $out =  "<?php\n";
 $out .= "// This script generated by scripts/notes_stats_output.php -- DO NOT COMMIT\n";
 $out .= "\$notesData = ". var_export($notesData, true) .";\n";
+$out .= "if (isset(\$_GET['raw_data']) && \$_GET['raw_data']) {\n";
+$out .= "    var_export(\$notesData);\n";
+$out .= "}\n";
 $out .= "// EOF\n?>";
 
 ?>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.