Digital experiences for all disciplines
Forum Replies Created
Viewing 2 posts - 1 through 2 (of 2 total)
-
Posted in: We hit Power Elite.
-
This reply has been marked as private.
Hello,
I am having the same issue as above, even after trying all of the fixes.
Here is my config.php file:
<?php if (!function_exists('sf_wp_path')) { function sf_wp_path() { $wp_path = ""; if (strstr($_SERVER["SCRIPT_FILENAME"], "/wp-content/")) { $wp_path = preg_replace("/\/wp-content\/.*/", "", $_SERVER["SCRIPT_FILENAME"]); } else { $wp_path = preg_replace("/\/[^\/]+?\/themes\/.*/", "", $_SERVER["SCRIPT_FILENAME"]); } if (strpos($wp_path, 'interface.php') !== FALSE) { $absolute_path = __FILE__; $file_path = explode( 'wp-content', $absolute_path ); $wp_path = $file_path[0]; } return $wp_path; } } $wp_path = sf_wp_path(); if (strpos($wp_path, '/') !== false) { require_once( $wp_path . '/wp-load.php' ); } else { require_once( $wp_path . '\wp-load.php' ); } ?>
-
Posted in: We hit Power Elite.
Viewing 2 posts - 1 through 2 (of 2 total)