| if ($this->id == '') {␊ |
| $this->creation_dtime = gmdate('Y-m-d H:i:s');␊ |
| $this->modif_dtime = gmdate('Y-m-d H:i:s');␊ |
| $this->md5 = md5_file (Pluf::f('upload_path') . '/' . $this->get_project()->shortname . '/files/' . $this->file);␊ |
| $this->md5 = md5_file ($this->getFullPath());␊ |
| }␊ |
| }␊ |
| ␊ |
|
| return Pluf::f('url_upload').'/'.$project->shortname.'/files/'.$this->file;␊ |
| }␊ |
| ␊ |
| function getFullPath()␊ |
| {␊ |
| return(Pluf::f('upload_path').'/'.$this->get_project()->shortname.'/files/'.$this->file);␊ |
| }␊ |
| ␊ |
| /**␊ |
| * We drop the information from the timeline.␊ |
| */␊ |
|
| }␊ |
| Pluf_Translation::loadSetLocale($current_locale);␊ |
| }␊ |
| } |
| }␊ |