Commit 67a822bc authored by Antoine Tenart's avatar Antoine Tenart

kwain

parent 61671f98
...@@ -68,7 +68,7 @@ if ( $id_photo > 0 ) ...@@ -68,7 +68,7 @@ if ( $id_photo > 0 )
$site->return_simplefile( "pherror", "image/png", $topdir."images/actions/delete.png"); $site->return_simplefile( "pherror", "image/png", $topdir."images/actions/delete.png");
} }
$abs_file = $photo->get_rel_path().$photo->id; $abs_file = $photo->get_abs_path().$photo->id;
if ( $mode == "flv" && $photo->type_media == MEDIA_VIDEOFLV ) if ( $mode == "flv" && $photo->type_media == MEDIA_VIDEOFLV )
{ {
......
...@@ -131,10 +131,6 @@ class photo extends basedb ...@@ -131,10 +131,6 @@ class photo extends basedb
{ {
return "/var/www/ae2/data/sas/".date("Y/m/d",$this->date_prise_vue)."/"; return "/var/www/ae2/data/sas/".date("Y/m/d",$this->date_prise_vue)."/";
} }
/** on va arreter d'etre cons -s- */
function get_rel_path () {
return "/data/sas/".date("Y/m/d",$this->date_prise_vue)."/";
}
/** /**
* Verifie si tous les droits sont acquis, et en cas de changement met à jour la base de donnés. * Verifie si tous les droits sont acquis, et en cas de changement met à jour la base de donnés.
......
Markdown is supported
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