Commit b659eee2 authored by Antoine Tenart's avatar Antoine Tenart

kwain

parent 14c133e5
......@@ -68,7 +68,7 @@ if ( $id_photo > 0 )
$site->return_simplefile( "pherror", "image/png", $topdir."images/actions/delete.png");
}
$abs_file = $photo->get_abs_path().$photo->id;
$abs_file = $photo->get_rel_path().$photo->id;
if ( $mode == "flv" && $photo->type_media == MEDIA_VIDEOFLV )
{
......
......@@ -131,6 +131,10 @@ class photo extends basedb
{
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 $rootdir."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.
......
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