store os_path and display_path with files
This commit is contained in:
		| @@ -705,8 +705,9 @@ function attach_store($channel, $observer_hash, $options = '', $arr = null) { | |||||||
| 	$os_relpath .= $hash; | 	$os_relpath .= $hash; | ||||||
|  |  | ||||||
| 	// not yet used | 	// not yet used | ||||||
| 	$os_path = ''; | 	$os_path = ltrim($os_relpath,'/'); | ||||||
| 	$display_path = ''; |  | ||||||
|  | 	$display_path = $pathname . '/' . $filename; | ||||||
|  |  | ||||||
| 	if($src) | 	if($src) | ||||||
| 		@file_put_contents($os_basepath . $os_relpath,@file_get_contents($src)); | 		@file_put_contents($os_basepath . $os_relpath,@file_get_contents($src)); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user