我在本地主機(Ubuntu 19.04,Apache2,PostgreSQL,PHP 7.2)中安裝了Moodle 3.7。我想更改主題中的一些圖標,并且試圖找到存儲圖標的確切文件夾。當我在Google Chrome瀏覽器中單擊F12并指向要更改的特定圖像時,會看到以下信息:<img class="icon " alt="" aria-hidden="true" src="http://localhost/moodle/theme/image.php/lambda/core/1556073422/i/duration">因此,此圖像的路徑顯示了一些PHP文件。我打開了PHP文件,無法猜測文件夾中的圖像在哪里。如何找到該圖像的真實路徑?
1 回答

慕俠2389804
TA貢獻1719條經(jīng)驗 獲得超6個贊
您要尋找的圖片是 [Moodleroot]/pix/i/duration.png
或[Moodleroot]/pix/i/duration.svg
。
如果您創(chuàng)建圖像文件并將其放置在主題中,則它可能會在主題內被覆蓋。
[Moodleroot]/theme/[theme name]/pix_core/i/duration.png
或者 [Moodleroot]/theme/[theme name]/pix_core/i/duration.svg
確保從Moodle中清除所有緩存以應用更改。
- 1 回答
- 0 關注
- 137 瀏覽
添加回答
舉報
0/150
提交
取消