Changeset 479 for trunk/lib/Upload.inc.php
- Timestamp:
- May 3, 2014 11:09:03 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Upload.inc.php
r478 r479 76 76 public function setParam($params) 77 77 { 78 78 $app =& App::getInstance(); 79 79 80 80 if (isset($params) && is_array($params)) { … … 120 120 public function getParam($param) 121 121 { 122 122 $app =& App::getInstance(); 123 123 124 124 if (array_key_exists($param, $this->_params)) { … … 146 146 public function process($form_name, $custom_file_name=null) 147 147 { 148 148 $app =& App::getInstance(); 149 149 150 150 // Ensure we have a upload directory. … … 353 353 public function deleteFile($file_name, $use_glob=false) 354 354 { 355 355 $app =& App::getInstance(); 356 356 357 357 // Ensure we have a upload directory. … … 386 386 public function moveFile($old_name, $new_name) 387 387 { 388 388 $app =& App::getInstance(); 389 389 390 390 // Ensure we have an upload directory. … … 421 421 public function exists($file_name) 422 422 { 423 423 $app =& App::getInstance(); 424 424 425 425 // Ensure we have a upload directory. … … 518 518 public function _raiseMsg($message, $type, $file, $line) 519 519 { 520 520 $app =& App::getInstance(); 521 521 522 522 if ($this->getParam('display_messages') === true || (is_int($this->getParam('display_messages')) && $this->getParam('display_messages') & $type > 0)) {
Note: See TracChangeset
for help on using the changeset viewer.