Local config file include
-
Hello,
I’ve created ‘pll-config.php’ file in ‘/wp-content/polylang/’. The problem is in line 48 of polylang.php:
if (!defined(‘PLL_LOCAL_DIR’))
define(‘PLL_LOCAL_DIR’, WP_CONTENT_DIR . ‘/polylang’);It should be:
define(‘PLL_LOCAL_DIR’, WP_CONTENT_DIR . ‘/plugins/polylang’);
because WP_CONTENT_DIR is ‘/srv/public-wordpress/wp-content’.
Best regards
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Local config file include’ is closed to new replies.