Prestashop 1.6.0.9覆盖和性能:文件class_index.php已经消失

时间:2014-08-12 11:45:15

标签: performance override prestashop prestashop-1.6

几天后,在更新到PS 1.6.0.9之后,不再创建文件/cache/class_index.php。实际上,在/ cache文件夹中,只有一个文件夹:./ smarty

每个被覆盖的文件都有效,但我猜这对于表演来说不好。 prestashop如何知道要使用哪个文件? (核心或覆盖)每次都必须查看/ override文件夹吗?

是否有能力让它恢复?

谢谢。

修改 The solution came from Pete78 from the Prestashop Forum

  

就我而言,这是PrestaShopAutoLoad.class中的一个错误   我用最新的github替换了1.6.0.9中的那个,并再次重新创建了class_index.php .. PrestaShopAutoLoad.class on GitHub

1 个答案:

答案 0 :(得分:2)

我不太了解英语,但首先要看classes/PrestaShopAutoload.php

看看第35行:

const INDEX_FILE = 'cache/class_index.php';

尝试将其替换为:

const INDEX_FILE = '/cache/class_index.php';