Commit ec5e1067 authored by Zot's avatar Zot Committed by Mario
Browse files

store os_path and display_path with files

parent ee46faff
......@@ -705,8 +705,9 @@ function attach_store($channel, $observer_hash, $options = '', $arr = null) {
$os_relpath .= $hash;
// not yet used
$os_path = '';
$display_path = '';
$os_path = ltrim($os_relpath,'/');
$display_path = $pathname . '/' . $filename;
if($src)
@file_put_contents($os_basepath . $os_relpath,@file_get_contents($src));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment