diff -r d2af8a210f5d -r 8e4fe6f3337d thd/apps/frontend/modules/editor/actions/addFilmSegmentAction.class.php --- a/thd/apps/frontend/modules/editor/actions/addFilmSegmentAction.class.php Wed Jun 01 14:07:43 2016 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,36 +0,0 @@ -getMethodName() != sfWebRequest::POST) return sfView::ERROR; - - $in=$request->getParameter('timein'); - $out=$request->getParameter('timeout'); - $tag=addslashes($request->getParameter('usertag')); - $user=addslashes($request->getParameter('username')); - $refFilm=$request->getParameter('refFilm'); - $film=$request->getParameter('film'); - - // Get file Path - $this->path = sfConfig::get('app_storage_uploads'); - $this->format = sfConfig::get('app_storage_format'); - $file = $this->path.$refFilm.$this->format; - - - - // Build content to fill - $line = array($in,$out,$tag,$user); - - // Build ldt - - - // Create or Update the file - $fp = fopen($file, "a"); - fwrite($fp,$line); - fclose($fp); - - return sfView::SUCCESS; - } -} \ No newline at end of file