Quantcast
Channel: polylang – WordPress.org Forums
Viewing all articles
Browse latest Browse all 11471

bajro on "[Plugin: Polylang] Local config file include"

$
0
0

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

https://wordpress.org/plugins/polylang/


Viewing all articles
Browse latest Browse all 11471

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>