• this plugin cant read wp-config.php if it’s been moved to server root thus throwing 404 error (dialog.php)

Viewing 1 replies (of 1 total)
  • Plugin Author minimus

    (@minimus)

    Change wp-special-textboxes/js/dialog.php lines 8..14 from

    $wpconfig = realpath("../../../../wp-config.php");
    if (!file_exists($wpconfig))  {
    	echo "Could not found wp-config.php. Error in path :\n\n".$wpconfig ;
    	die;
    }
    require_once($wpconfig);
    require_once(ABSPATH.'/wp-admin/admin.php');

    to
    require_once('../../../../wp-admin/admin.php');

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Special Text Boxes] cant read wp-config at root’ is closed to new replies.