Proyectos de Subversion LeadersLinked - Services

Rev

Rev 159 | Rev 192 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 159 Rev 179
Línea 707... Línea 707...
707
 
707
 
708
                if ($file_type == Feed::FILE_TYPE_DOCUMENT) {
708
                if ($file_type == Feed::FILE_TYPE_DOCUMENT) {
709
                    try {
709
                    try {
710
                        $target_path = $this->config['leaderslinked.fullpath.feed'] . $feed->uuid;
710
                        $target_path = $this->config['leaderslinked.fullpath.feed'] . $feed->uuid;
711
                        if (!file_exists($target_path)) {
711
                        if (!file_exists($target_path)) {
712
                            mkdir($target_path, 0755);
712
                            mkdir($target_path, 0755, true);
Línea 713... Línea 713...
713
                        }
713
                        }
Línea 714... Línea 714...
714
 
714
 
Línea 734... Línea 734...
734
                }
734
                }
735
                if ($file_type == Feed::FILE_TYPE_IMAGE) {
735
                if ($file_type == Feed::FILE_TYPE_IMAGE) {
736
                    try {
736
                    try {
737
                        $target_path = $this->config['leaderslinked.fullpath.feed'] . $feed->uuid;
737
                        $target_path = $this->config['leaderslinked.fullpath.feed'] . $feed->uuid;
738
                        if (!file_exists($target_path)) {
738
                        if (!file_exists($target_path)) {
739
                            mkdir($target_path, 0755);
739
                            mkdir($target_path, 0755, true);
740
                        }
740
                        }
Línea 741... Línea 741...
741
 
741
 
Línea 742... Línea 742...
742
                        list($target_width, $target_height) = explode('x', $this->config['leaderslinked.image_sizes.feed_image_size']);
742
                        list($target_width, $target_height) = explode('x', $this->config['leaderslinked.image_sizes.feed_image_size']);
Línea 756... Línea 756...
756
                }
756
                }
757
                if ($file_type == Feed::FILE_TYPE_VIDEO) {
757
                if ($file_type == Feed::FILE_TYPE_VIDEO) {
758
                    try {
758
                    try {
759
                        $target_path = $this->config['leaderslinked.fullpath.feed'] . $feed->uuid;
759
                        $target_path = $this->config['leaderslinked.fullpath.feed'] . $feed->uuid;
760
                        if (!file_exists($target_path)) {
760
                        if (!file_exists($target_path)) {
761
                            mkdir($target_path, 0755);
761
                            mkdir($target_path, 0755, true);
762
                        }
762
                        }
Línea 763... Línea 763...
763
 
763
 
Línea 764... Línea 764...
764
                        $full_filename = $target_path  . DIRECTORY_SEPARATOR . $feed_filename;
764
                        $full_filename = $target_path  . DIRECTORY_SEPARATOR . $feed_filename;