diff options
author | Kai Stevenson <kai@kaistevenson.com> | 2023-08-01 16:03:43 -0700 |
---|---|---|
committer | Kai Stevenson <kai@kaistevenson.com> | 2023-08-01 16:03:43 -0700 |
commit | 88bbd745f7ce7c3b0a4e91777ba1b34e22821c34 (patch) | |
tree | 9e982518e2d48dd97cb708038573ec46e69e7c35 /src | |
parent | f385016a307bc5451f504f17676fde8172934d32 (diff) |
fixed file path of cached latex
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: |