diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/phplatex.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/phplatex.php b/src/phplatex.php index 996dd88..6557ff0 100644 --- a/src/phplatex.php +++ b/src/phplatex.php @@ -82,7 +82,7 @@ function texify($string,$dpi='90',$fore="",$back="",$extraprelude="",$trans=FALS # check if image for that TeX in the cache, return img HTML if it exists if (file_exists($heredir.'/lateximages/'.$hashfn.'.'.$imgfmt)) - return '<img style="'.$verticalalign.'" title="'.$stralt.'" alt="'.$stralt.'" src="lateximages/'.$hashfn.'.'.$imgfmt.'">'; + return '<img style="'.$verticalalign.'" title="'.$stralt.'" alt="'.$stralt.'" src="/lateximages/'.$hashfn.'.'.$imgfmt.'">'; # otherwise try to make and store: |