Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

minor changes #3

Closed
wants to merge 3 commits into from

2 participants

@glensc

quite obvious changes, nothing to comment on them :)

@splitbrain
Owner

merged.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 7, 2010
  1. @glensc

    - spelling fixes

    glensc authored
  2. @glensc

    - fix phpdoc

    glensc authored
  3. @glensc

    - update urls

    glensc authored
This page is out of date. Refresh to see the latest.
View
2  inc/HTTPClient.php
@@ -161,7 +161,7 @@ function get($url,$sloppy304=false){
* will be correctly encoded and added to the given base URL.
*
* @param string $url The URL to fetch
- * @param string $data Associative array of parameters
+ * @param array $data Associative array of parameters
* @param bool $sloppy304 Return body on 304 not modified
* @author Andreas Gohr <andi@splitbrain.org>
*/
View
2  inc/TarLib.class.php
@@ -399,7 +399,7 @@ function Add($p_filelist, $p_add = '', $p_rem = '') {
*
* This function attempts to get the list of the files stored in the
* archive, and return either an error code or an indexed array of
- * associative array containing for each file the following informations :
+ * associative array containing for each file the following information :
*
* checksum Tar Checksum of the file
* filename The full name of the stored file (up to 100 c.)
View
4 inc/auth/ad.class.php
@@ -26,7 +26,7 @@
* $conf['auth']['ad']['use_ssl'] = 1;
* $conf['auth']['ad']['debug'] = 1;
*
- * // get additional informations to the userinfo array
+ * // get additional information to the userinfo array
* // add a list of comma separated ldap contact fields.
* $conf['auth']['ad']['additional'] = 'field1,field2';
*
@@ -155,7 +155,7 @@ function getUserData($user){
$info['uid'] = $result[0]['samaccountname'][0];
$info['dn'] = $result[0]['dn'];
- // additional informations
+ // additional information
foreach ($this->cnf['additional'] as $field) {
if (isset($result[0][strtolower($field)])) {
$info[$field] = $result[0][strtolower($field)][0];
View
4 inc/httputils.php
@@ -14,13 +14,13 @@
* Checks and sets HTTP headers for conditional HTTP requests
*
* @author Simon Willison <swillison@gmail.com>
- * @link http://simon.incutio.com/archive/2003/04/23/conditionalGet
+ * @link http://simonwillison.net/2003/Apr/23/conditionalGet/
* @param timestamp $timestamp lastmodified time of the cache file
* @returns void or exits with previously header() commands executed
*/
function http_conditionalRequest($timestamp){
// A PHP implementation of conditional get, see
- // http://fishbowl.pastiche.org/archives/001132.html
+ // http://fishbowl.pastiche.org/2002/10/21/http_conditional_get_for_rss_hackers/
$last_modified = substr(gmdate('r', $timestamp), 0, -5).'GMT';
$etag = '"'.md5($last_modified).'"';
// Send the headers
View
2  inc/parserutils.php
@@ -531,7 +531,7 @@ function p_sort_modes($a, $b){
/**
* Renders a list of instruction to the specified output mode
*
- * In the $info array are informations from the renderer returned
+ * In the $info array is information from the renderer returned
*
* @author Harry Fuecks <hfuecks@gmail.com>
* @author Andreas Gohr <andi@splitbrain.org>
View
2  inc/subscription.php
@@ -65,7 +65,7 @@ function subscription_unlock($id) {
/**
* Set subscription information
*
- * Allows to set subscription informations for permanent storage in meta files.
+ * Allows to set subscription information for permanent storage in meta files.
* Subscriptions consist of a target object, a subscribing user, a subscribe
* style and optional data.
* A subscription may be deleted by specifying an empty subscribe style.
Something went wrong with that request. Please try again.