projects
/
phpfspot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21e5440
)
fixed path problem (missing "/")
master
author
Arun Persaud
<arun@nubati.net>
Wed, 8 Dec 2010 17:13:25 +0000
(09:13 -0800)
committer
Arun Persaud
<arun@nubati.net>
Wed, 8 Dec 2010 17:13:25 +0000
(09:13 -0800)
the latest version in the database seems to save a path without the trailing slash
phpfspot.class.php
patch
|
blob
|
history
diff --git
a/phpfspot.class.php
b/phpfspot.class.php
index 111b03ef0e641129353ae4b5d3ff562d92d1f713..f611391ae044ed2a234ef942ab622bd009c287b9 100644
(file)
--- a/
phpfspot.class.php
+++ b/
phpfspot.class.php
@@
-523,7
+523,7
@@
class PHPFSPOT {
$query_str = "
SELECT
p.id as id,
- p.base_uri || p.filename as uri,
+ p.base_uri ||
'/'||
p.filename as uri,
p.time as time,
p.description as description,
p.rating as rating
@@
-596,7
+596,7
@@
class PHPFSPOT {
SELECT
version_id,
name,
- base_uri || filename as uri
+ base_uri ||
'/'||
filename as uri
FROM
photo_versions
WHERE