Skip to content

Commit

Permalink
Changed default path to wp-load.php
Browse files Browse the repository at this point in the history
  • Loading branch information
arnemorken committed Dec 13, 2023
1 parent d1c1f4f commit ace7032
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/mysql/anyDefs.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@

//define("WP_PLUGIN",""); // Comment out if using the server API, but not as a Wordpress plugin
define("gWordpressURL", gServer . "Prosjekter/testserver/");
define("gWProot", dirname(dirname(dirname(dirname(dirname(__FILE__)))))); // Path to wp-load.php
define("gWProot", dirname(dirname(dirname(dirname(dirname(dirname(__FILE__))))))); // Path to wp-load.php
define("gWPLoad", gWProot . "/wp-load.php"); // Wordpress functions

// The names of user tables and columns depend on whether we run against a Wordpress database or not
Expand Down

0 comments on commit ace7032

Please sign in to comment.