cvs: docweb /include lib_phpt_generator.inc.php

From: Date: Mon, 16 Oct 2006 19:58:15 +0000
Subject: cvs: docweb /include lib_phpt_generator.inc.php
Groups: php.doc.web 
Request: Send a blank email to doc-web+get-898@lists.php.net to get a copy of this message
colder Mon Oct 16 19:58:15 2006 UTC Modified files: /docweb/include lib_phpt_generator.inc.php Log: Consistency with coding standards http://cvs.php.net/viewvc.cgi/docweb/include/lib_phpt_generator.inc.php?r1=1.2&r2=1.3&diff_format=u Index: docweb/include/lib_phpt_generator.inc.php diff -u docweb/include/lib_phpt_generator.inc.php:1.2 docweb/include/lib_phpt_generator.inc.php:1.3 --- docweb/include/lib_phpt_generator.inc.php:1.2 Wed Oct 4 17:07:25 2006 +++ docweb/include/lib_phpt_generator.inc.php Mon Oct 16 19:58:15 2006 @@ -15,7 +15,7 @@ +----------------------------------------------------------------------+ | Authors: Etienne Kneuss <colder@php.net> | +----------------------------------------------------------------------+ -$Id: lib_phpt_generator.inc.php,v 1.2 2006/10/04 17:07:25 colder Exp $ +$Id: lib_phpt_generator.inc.php,v 1.3 2006/10/16 19:58:15 colder Exp $ */ /** * Parameters @@ -53,7 +53,8 @@ // disable magic_quotes_gpc -function phpt_clean_gpc (&$item, $key) { +function phpt_clean_gpc (&$item, $key) +{ $item = stripslashes($item); } @@ -190,7 +191,8 @@ * * @return bool */ -function phpt_list_files($prefix, $path, &$userdata) { +function phpt_list_files($prefix, $path, &$userdata) +{ if (is_dir($prefix.$path) && is_resource($handle = @opendir($prefix.$path))) { @@ -217,7 +219,8 @@ * * @return null */ -function phpt_scan_file($prefix, $path, &$userdata) { +function phpt_scan_file($prefix, $path, &$userdata) +{ if (!is_file($prefix.$path)) { return false;

« previous php.doc.web (#898) next »