Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
ae2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
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 )
$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
)
{
...
...
sas2/include/photo.inc.php
View file @
67a822bc
...
...
@@ -131,10 +131,6 @@ 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
"/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.
...
...
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