Ignore:
Timestamp:
May 13, 2008 4:14:53 AM (16 years ago)
Author:
quinn
Message:

Fixed lots of misplings. I'm so embarrassed! ;P

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Upload.inc.php

    r303 r334  
    3838        'dest_dir_perms' => 0700,
    3939
    40         // Require file to have one of the following file name extentions.
     40        // Require file to have one of the following file name extensions.
    4141        'valid_file_extensions' => array('jpg', 'jpeg', 'gif', 'png', 'pdf', 'txt', 'text', 'html', 'htm'),
    4242    );
     
    118118     * @param   string  $form_name          The name of the form to process.
    119119     * @param   string  $custom_file_name   The new name of the file. An array of filenames in the case of multiple files.
    120      * @return  mixed   Returns FALSE if a major error occured preventing any file uploads.
    121      *                  Returns an empty array if any minor errors occured or no files were found.
    122      *                  Returns a multidimentional array of filenames, sizes and extentions, if one-or-more files succeeded uploading.
     120     * @return  mixed   Returns FALSE if a major error occurred preventing any file uploads.
     121     *                  Returns an empty array if any minor errors occurred or no files were found.
     122     *                  Returns a multidimensional array of filenames, sizes and extensions, if one-or-more files succeeded uploading.
    123123     *                  Note: this last option presents a problem in the case of when some files uploaded successfully, and some failed.
    124124     *                        In this case it is necessary to check the Upload::anyErrors method to discover if any did fail.
     
    442442
    443443    /**
    444      * Determintes if any errors occured while calling the Upload::process method.
     444     * Determines if any errors occurred while calling the Upload::process method.
    445445     *
    446446     * @access  public
     
    471471
    472472    /**
    473      * Returns the extention of a file name, or an empty string if non exists.
    474      *
    475      * @access  public
    476      * @param   string  $file_name  A name of a file, with extention after a dot.
     473     * Returns the extension of a file name, or an empty string if non exists.
     474     *
     475     * @access  public
     476     * @param   string  $file_name  A name of a file, with extension after a dot.
    477477     * @return  string              The value found after the dot
    478478     */
Note: See TracChangeset for help on using the changeset viewer.