cvs: docweb /www admin.php

[email protected] ("Nuno Lopes")
Newsgroups php.doc.web
Message-ID <cvsnlopess1122661224@cvsserver>
nlopess		Fri Jul 29 14:20:24 2005 EDT

  Modified files:              
    /docweb/www	admin.php 
  Log:
  remove a debug artifact. add the licence thinguie.
  
http://cvs.php.net/diff.php/docweb/www/admin.php?r1=1.3&r2=1.4&ty=u
Index: docweb/www/admin.php
diff -u docweb/www/admin.php:1.3 docweb/www/admin.php:1.4
--- docweb/www/admin.php:1.3	Fri Jul 29 13:06:11 2005
+++ docweb/www/admin.php	Fri Jul 29 14:20:24 2005
@@ -1,5 +1,22 @@
 <?php
-/* $Id: admin.php,v 1.3 2005/07/29 17:06:11 nlopess Exp $ */
+/*
++----------------------------------------------------------------------+
+| PHP Documentation Site Source Code                                   |
++----------------------------------------------------------------------+
+| Copyright (c) 2005 The PHP Group                                     |
++----------------------------------------------------------------------+
+| This source file is subject to version 3.0 of the PHP license,       |
+| that is bundled with this package in the file LICENSE, and is        |
+| available at through the world-wide-web at                           |
+| http://www.php.net/license/3_0.txt.                                  |
+| If you did not receive a copy of the PHP license and are unable to   |
+| obtain it through the world-wide-web, please send a note to          |
+| [email protected] so we can mail you a copy immediately.               |
++----------------------------------------------------------------------+
+| Authors: Nuno Lopes <[email protected]>                                |
++----------------------------------------------------------------------+
+$Id: admin.php,v 1.4 2005/07/29 18:20:24 nlopess Exp $
+*/
 
 include '../include/init.inc.php';
 require_once '../include/lib_auth.inc.php';
@@ -59,7 +76,7 @@
 		}
 
 		$result = sqlite_query($idx, $_POST['command']);
-echo sqlite_last_error($idx);
+
 		if (!$result) {
 			echo '<p><strong>There was an error in the query:</strong> ' . sqlite_error_string(sqlite_last_error($idx)) . '</p><p>&nbsp;</p>';
 			sql_print_textarea($_POST['command'], $_POST['file']);
@@ -187,4 +204,4 @@
 
 
 echo site_footer();
-?>
\ No newline at end of file
+?>
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.