Saving Preordernotification and test email done
This commit is contained in:
@@ -46,6 +46,50 @@ class mfUpload {
|
||||
}
|
||||
}
|
||||
|
||||
public function getSavepath() {
|
||||
return $this->savepath;
|
||||
}
|
||||
|
||||
public function setSavepath($path) {
|
||||
$this->savepath = $path;
|
||||
return true;
|
||||
}
|
||||
|
||||
public function getOriginalFilename() {
|
||||
return $this->original_filename;
|
||||
}
|
||||
|
||||
public function getFilename() {
|
||||
return $this->filename;
|
||||
}
|
||||
|
||||
public function setFilename($name) {
|
||||
$this->filename = $name;
|
||||
}
|
||||
|
||||
public function getSize() {
|
||||
return $this->size;
|
||||
}
|
||||
|
||||
public function getDirmode() {
|
||||
return $this->dirmode;
|
||||
}
|
||||
|
||||
public function setDirmode($mode) {
|
||||
$this->dirmode = $mode;
|
||||
}
|
||||
|
||||
public function getFilemode() {
|
||||
return $this->filemode;
|
||||
}
|
||||
|
||||
public function setFilemode($mode) {
|
||||
$this->filemode = $mode;
|
||||
}
|
||||
|
||||
public function getMimetype() {
|
||||
return $this->upload->getMimetype();
|
||||
}
|
||||
|
||||
public function save() {
|
||||
if(!$this->savepath) {
|
||||
@@ -95,7 +139,7 @@ class mfUpload {
|
||||
$string = '';
|
||||
|
||||
for ($p = 0; $p < $length; $p++) {
|
||||
$string .= $characters[mt_rand(0, strlen($characters))];
|
||||
$string .= $characters[mt_rand(0, strlen($characters) -1)];
|
||||
}
|
||||
|
||||
$rand = uniqid(md5(rand()), true);
|
||||
@@ -133,44 +177,5 @@ class mfUpload {
|
||||
return true;
|
||||
}
|
||||
|
||||
public function getSavepath() {
|
||||
return $this->savepath;
|
||||
}
|
||||
|
||||
public function setSavepath($path) {
|
||||
$this->savepath = $path;
|
||||
return true;
|
||||
}
|
||||
|
||||
public function getOriginalFilename() {
|
||||
return $this->original_filename;
|
||||
}
|
||||
|
||||
public function getFilename() {
|
||||
return $this->filename;
|
||||
}
|
||||
|
||||
public function setFilename($name) {
|
||||
$this->filename = $name;
|
||||
}
|
||||
|
||||
public function getSize() {
|
||||
return $this->size;
|
||||
}
|
||||
|
||||
public function getDirmode() {
|
||||
return $this->dirmode;
|
||||
}
|
||||
|
||||
public function setDirmode($mode) {
|
||||
$this->dirmode = $mode;
|
||||
}
|
||||
|
||||
public function getFilemode() {
|
||||
return $this->filemode;
|
||||
}
|
||||
|
||||
public function setFilemode($mode) {
|
||||
$this->filemode = $mode;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user