Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 16961 Rev 16979
Línea 743... Línea 743...
743
    
743
    
744
                        if ($file_type == Feed::FILE_TYPE_DOCUMENT) {
744
                        if ($file_type == Feed::FILE_TYPE_DOCUMENT) {
745
                            try {
745
                            try {
746
                                $target_path = $this->config['leaderslinked.fullpath.feed'] . $feed->uuid;
746
                                $target_path = $this->config['leaderslinked.fullpath.feed'] . $feed->uuid;
747
                                if (!file_exists($target_path)) {
747
                                if (!file_exists($target_path)) {
748
                                    mkdir($target_path, 0755);
748
                                    mkdir($target_path, 0755, true);
Línea 749... Línea 749...
749
                                }
749
                                }
750
    
750
    
751
                                $full_filename = $target_path  . DIRECTORY_SEPARATOR . $feed_filename;
751
                                $full_filename = $target_path  . DIRECTORY_SEPARATOR . $feed_filename;
Línea 764... Línea 764...
764
                        }
764
                        }
765
                        if ($file_type == Feed::FILE_TYPE_IMAGE) {
765
                        if ($file_type == Feed::FILE_TYPE_IMAGE) {
766
                            try {
766
                            try {
767
                                $target_path = $this->config['leaderslinked.fullpath.feed'] . $feed->uuid;
767
                                $target_path = $this->config['leaderslinked.fullpath.feed'] . $feed->uuid;
768
                                if (!file_exists($target_path)) {
768
                                if (!file_exists($target_path)) {
769
                                    mkdir($target_path, 0755);
769
                                    mkdir($target_path, 0755, true);
770
                                }
770
                                }
Línea 771... Línea 771...
771
    
771
    
Línea 772... Línea 772...
772
                                list($target_width, $target_height) = explode('x', $this->config['leaderslinked.image_sizes.feed_image_size']);
772
                                list($target_width, $target_height) = explode('x', $this->config['leaderslinked.image_sizes.feed_image_size']);