Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 17002 Rev 17012
Línea 74... Línea 74...
74
    {
74
    {
Línea 75... Línea 75...
75
        
75
        
-
 
76
       
76
       
77
        
77
        
-
 
78
        try {
-
 
79
            $data = file_get_contents($source);
-
 
80
            
-
 
81
            if($unlink_source) {
-
 
82
                unlink($source);
78
        try {
Línea 83... Línea 79...
83
            }
79
 
84
            
80
            $data = file_get_contents($source);
Línea 130... Línea 126...
130
                
126
                
131
                $result = $this->storage->putFile($target_path, $target_code, $temp_filename);
127
                $result = $this->storage->putFile($target_path, $target_code, $temp_filename);
Línea -... Línea 128...
-
 
128
                unlink($temp_filename);
-
 
129
                
-
 
130
                
-
 
131
                if($unlink_source) {
-
 
132
                    @unlink($source);
-
 
133
                }
132
                unlink($temp_filename);
134
                
133
                
135
                
-
 
136
                
-
 
137
                return $result;
-
 
138
            } else {
-
 
139
                
-
 
140
                
-
 
141
                if($unlink_source) {
Línea 134... Línea 142...
134
                
142
                    @unlink($source);
135
                return $result;
143
                }
Línea 136... Línea 144...
136
            } else {
144
                
137
            
145
            
138
                return true;
146
                return true;
-
 
147
            }
-
 
148
            
-
 
149
        }
-
 
150
        catch (\Throwable $e)
-
 
151
        {
-
 
152
            
139
            }
153
            if($unlink_source) {
140
            
154
                @unlink($source);
141
        }
155
            }
142
        catch (\Throwable $e)
156