~ubuntu-branches/ubuntu/lucid/phpmyadmin/lucid

« back to all changes in this revision

Viewing changes to libraries/File.class.php

  • Committer: Bazaar Package Importer
  • Author(s): Michal Čihař
  • Date: 2009-06-30 14:05:13 UTC
  • mfrom: (1.2.1 upstream) (36.1.2 karmic)
  • Revision ID: james.westby@ubuntu.com-20090630140513-hz71do3sij2jhm4s
* New upstream version fixing XSS (PMASA-2009-5).
* Document no empty password in README.Debian and the shipped sample
  configuration file (LP: #388703).
* Install service file for avahi (if web service enabled and if avahi is
  installed) (LP: #369244).
* Mention protecting of setup if not using provided configuration snippets
  for webservers.
* Call ucf with --debconf-ok in postrm (Closes: #534894).

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
/**
4
4
 * file upload functions
5
5
 *
6
 
 * @version $Id: File.class.php 11536 2008-09-02 17:35:48Z nijel $
 
6
 * @version $Id: File.class.php 11986 2008-11-24 11:05:40Z nijel $
 
7
 * @package phpMyAdmin
7
8
 */
8
9
 
9
10
/**
11
12
 * @todo replace error messages with localized string
12
13
 * @todo when uploading a file into a blob field, should we also consider using
13
14
 *       chunks like in import? UPDATE `table` SET `field` = `field` + [chunk]
 
15
 * @package phpMyAdmin
14
16
 */
15
 
 
16
17
class PMA_File
17
18
{
18
19
    /**
155
156
     * @access  public
156
157
     * @uses    PMA_File::$_name
157
158
     * @param   string  $name   file name
158
 
     * @access  public
159
159
     */
160
160
    function setName($name)
161
161
    {
1231
1231
    /**
1232
1232
     * sets reference to most recent BLOB repository reference
1233
1233
     *
1234
 
     * @access  static public
 
1234
     * @access  public
1235
1235
     * @param   string - BLOB repository reference
1236
1236
    */
1237
1237
    static function setRecentBLOBReference($ref)
1242
1242
    /**
1243
1243
     * retrieves reference to most recent BLOB repository reference
1244
1244
     *
1245
 
     * @access  static public
 
1245
     * @access  public
1246
1246
     * @return  string - most recent BLOB repository reference
1247
1247
    */
1248
1248
    static function getRecentBLOBReference()