Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Antoine
ae2
Commits
67a822bc
Commit
67a822bc
authored
Jul 04, 2012
by
Antoine Tenart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kwain
parent
61671f98
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
5 deletions
+1
-5
sas2/images.php
sas2/images.php
+1
-1
sas2/include/photo.inc.php
sas2/include/photo.inc.php
+0
-4
No files found.
sas2/images.php
View file @
67a822bc
...
@@ -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
)
{
{
...
...
sas2/include/photo.inc.php
View file @
67a822bc
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment