Absolute path and Indentation fix for includes/gateways/*.php :)

This commit is contained in:
shivapoudel 2014-09-21 01:27:58 +05:45
parent fedb4dae7c
commit bc5156ff4a
14 changed files with 45 additions and 19 deletions

View File

@ -1,6 +1,8 @@
<?php
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
/**
* Bank Transfer Payment Gateway

View File

@ -1,6 +1,8 @@
<?php
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
/**
* Cheque Payment Gateway

View File

@ -1,6 +1,8 @@
<?php
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
/**
* Cash on Delivery Gateway

View File

@ -1,6 +1,8 @@
<?php
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
/**
* Mijireh Checkout Gateway

View File

@ -1,6 +1,8 @@
<?php
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
class Mijireh_Address extends Mijireh_Model {

View File

@ -1,6 +1,8 @@
<?php
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
class Mijireh_Item extends Mijireh_Model {

View File

@ -1,6 +1,8 @@
<?php
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
$root_dir = dirname(__FILE__) . DIRECTORY_SEPARATOR;

View File

@ -1,6 +1,8 @@
<?php
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
class Mijireh_Model {

View File

@ -1,6 +1,8 @@
<?php
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
class Mijireh_Order extends Mijireh_Model {

View File

@ -7,7 +7,9 @@
* under the terms of the MIT License (see http://en.wikipedia.org/wiki/MIT_License)
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
class Mijireh_Rest {

View File

@ -1,6 +1,8 @@
<?php
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
class Mijireh_RestJSON extends Mijireh_Rest {

View File

@ -1,6 +1,8 @@
<?php
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
/**
* PayPal Standard Payment Gateway

View File

@ -1,4 +1,5 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}

View File

@ -1,4 +1,5 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}