|
From: <var...@us...> - 2021-06-28 12:16:27
|
Revision: 10330
http://sourceforge.net/p/phpwiki/code/10330
Author: vargenau
Date: 2021-06-28 12:16:29 +0000 (Mon, 28 Jun 2021)
Log Message:
-----------
lib/plugin/TeX2png.php: use DATA_PATH
Modified Paths:
--------------
trunk/lib/plugin/TeX2png.php
Modified: trunk/lib/plugin/TeX2png.php
===================================================================
--- trunk/lib/plugin/TeX2png.php 2021-06-28 10:36:36 UTC (rev 10329)
+++ trunk/lib/plugin/TeX2png.php 2021-06-28 12:16:29 UTC (rev 10330)
@@ -174,7 +174,7 @@
{
// the name of the png cached file
$imagename = md5($text) . ".png";
- $url = '/' . $this->imagepath . "/$imagename";
+ $url = DATA_PATH . '/' . $this->imagepath . "/$imagename";
if (!file_exists($url)) {
if (is_writable($this->imagepath)) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|