Changeset 711608
- Timestamp:
- 05/12/2013 05:17:18 AM (13 years ago)
- Location:
- allprowebtools-shopping-cart-ecommerce-tools/trunk
- Files:
-
- 3 edited
-
allprowebtools.php (modified) (1 diff)
-
includes/apwt-cart.php (modified) (2 diffs)
-
templates/secure-buyers.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
allprowebtools-shopping-cart-ecommerce-tools/trunk/allprowebtools.php
r711589 r711608 53 53 54 54 //ajax 55 define('AJAXLOADPOSTURL', WP_PLUGIN_URL."/".dirname( plugin_basename( __FILE__ ) ) ); 55 // define('AJAXLOADPOSTURL', WP_PLUGIN_URL."/".dirname( plugin_basename( __FILE__ ) ) ); 56 define( 'APWT_PLUGIN_PATH', plugin_dir_path(__FILE__) ); 57 define( 'APWT_AJAX_POST_URL', plugin_dir_url(__FILE__) ); 56 58 57 59 function ajaxloadpost_enqueuescripts() { 58 wp_enqueue_script('ajaxloadpost', A JAXLOADPOSTURL.'/js/ajaxloadpost.js', array('jquery'));60 wp_enqueue_script('ajaxloadpost', APWT_AJAX_POST_URL.'js/ajaxloadpost.js', array('jquery')); 59 61 wp_localize_script( 'ajaxloadpost', 'ajaxloadpostajax', array( 'ajaxurl' => admin_url( 'admin-ajax.php' ) ) ); 60 62 } -
allprowebtools-shopping-cart-ecommerce-tools/trunk/includes/apwt-cart.php
r711600 r711608 100 100 } 101 101 102 require_once('wp-content/plugins/APWT-Cart/templates/shopping-cart.php'); 102 require_once(APWT_PLUGIN_PATH.'templates/shopping-cart.php'); 103 103 104 } 104 105 … … 188 189 189 190 //if not validated - show error msg and ask for re-entry 190 require_once( 'wp-content/plugins/APWT-Cart/templates/secure-buyers.php');191 require_once(APWT_PLUGIN_PATH.'templates/secure-buyers.php'); 191 192 } 192 193 -
allprowebtools-shopping-cart-ecommerce-tools/trunk/templates/secure-buyers.php
r711600 r711608 1 1 <?php 2 2 //christine hacking 3 require_once( 'wp-content/plugins/APWT-Cart/includes/apwt-cart.php');3 require_once(APWT_PLUGIN_PATH.'includes/apwt-cart.php'); 4 4 ?> 5 5 <!-- begin main content -->
Note: See TracChangeset
for help on using the changeset viewer.