forked from carlosfilho88/wp-moip
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mais problemas de DOCUMENT_ROOT e adição da forma de pagamento na lis…
…tagem de transações
- Loading branch information
1 parent
09efb8e
commit e0929fc
Showing
2 changed files
with
32 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
<?php | ||
require_once($_SERVER['DOCUMENT_ROOT'] . '/wp-config.php'); | ||
require_once($_SERVER['DOCUMENT_ROOT'] . '/wp-includes/wp-db.php'); | ||
require_once('../../../wp-config.php'); | ||
require_once('../../../wp-includes/wp-db.php'); | ||
|
||
?> | ||
<div class="mn_ajax_reload" id="mn_ajax_reload" style="float:right;margin: 0px 30px 10px;"> | ||
<input type="submit" name="mn_ajax_submit" id="mn_ajax_submit" value="<?php _e('Update Now! »') ?>" /> | ||
<input type="hidden" id="mn_show_table" value="<?=get_option("mn_ajax_reload") == "true" ? 1 : 0?>"/> | ||
</div> | ||
</div> |