Commit 14c133e5 authored by Antoine Tenart's avatar Antoine Tenart

kwain

parent 67570b9c
......@@ -129,7 +129,7 @@ class photo extends basedb
*/
function get_abs_path ( )
{
return "/var/www/ae/accounts/sas/photos/".date("Y/m/d",$this->date_prise_vue)."/";
return "/var/www/ae2/data/sas/".date("Y/m/d",$this->date_prise_vue)."/";
}
/**
......@@ -167,14 +167,14 @@ class photo extends basedb
*/
function make_path ( )
{
if ( !is_dir( "/var/www/ae/accounts/sas/photos/".date("Y",$this->date_prise_vue)."/") )
mkdir( "/var/www/ae/accounts/sas/photos/".date("Y",$this->date_prise_vue)."/");
if ( !is_dir( "/var/www/ae2/data/sas/".date("Y",$this->date_prise_vue)."/") )
mkdir( "/var/www/ae2/data/sas/".date("Y",$this->date_prise_vue)."/");
if ( !is_dir( "/var/www/ae/accounts/sas/photos/".date("Y/m",$this->date_prise_vue)."/") )
mkdir( "/var/www/ae/accounts/sas/photos/".date("Y/m",$this->date_prise_vue)."/");
if ( !is_dir( "/var/www/ae2/data/sas/".date("Y/m",$this->date_prise_vue)."/") )
mkdir( "/var/www/ae2/data/sas/".date("Y/m",$this->date_prise_vue)."/");
if ( !is_dir( "/var/www/ae/accounts/sas/photos/".date("Y/m/d",$this->date_prise_vue)."/") )
mkdir( "/var/www/ae/accounts/sas/photos/".date("Y/m/d",$this->date_prise_vue)."/");
if ( !is_dir( "/var/www/ae2/data/sas/".date("Y/m/d",$this->date_prise_vue)."/") )
mkdir( "/var/www/ae2/data/sas/".date("Y/m/d",$this->date_prise_vue)."/");
}
......
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