projects
/
bizou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed a bug when bizou was operating at the top root of a site
[bizou.git]
/
plugins
/
viewer
/
functions.php
diff --git
a/plugins/viewer/functions.php
b/plugins/viewer/functions.php
index
71ec3f0
..
2ac59ac
100644
(file)
--- a/
plugins/viewer/functions.php
+++ b/
plugins/viewer/functions.php
@@
-1,6
+1,6
@@
<?php
function getImageLink($imageSimplePath)
{
- return dirname($_SERVER["SCRIPT_NAME"])."/plugins/viewer/view.php$imageSimplePath";
+ return $GLOBALS['rootUrl']."plugins/viewer/view.php$imageSimplePath";
}
?>