Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
Core folder switch to vendor
Browse files Browse the repository at this point in the history
  • Loading branch information
paeddl committed Apr 24, 2019
1 parent ee2991d commit 337af90
Show file tree
Hide file tree
Showing 129 changed files with 4 additions and 5 deletions.
5 changes: 3 additions & 2 deletions fcpayone.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
exit;
}

require_once _PS_MODULE_DIR_ . 'fcpayone/Core/autoload.php';
require_once _PS_MODULE_DIR_ . 'fcpayone/vendor/autoload.php';

class FcPayone extends \PaymentModule
{
Expand Down Expand Up @@ -785,7 +785,8 @@ public function hookDisplayPDFInvoice($params)
$this->context->smarty->assign('usage', $aOrderData['txid']);
return $this->display(
$this->fcGetPayoneHelper()->getModulePath(),
'views/templates/hook/admin/displayPDFInvoice.tpl');
'views/templates/hook/admin/displayPDFInvoice.tpl'
);
}
}
}
1 change: 0 additions & 1 deletion upgrade/upgrade-1.2.1.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
* @link http://www.payone.de
*/


if (!defined('_PS_VERSION_')) {
exit;
}
Expand Down
1 change: 0 additions & 1 deletion upgrade/upgrade-2.0.0.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
* @link http://www.payone.de
*/


if (!defined('_PS_VERSION_')) {
exit;
}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion Core/autoload.php → vendor/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
*/
$aFcPayonePayments = array();
$aFcPayoneSubPaymentBaseNames = array();
$sFcPayoneAutoloadBaseDir = _PS_MODULE_DIR_ . 'fcpayone/Core/';
$sFcPayoneAutoloadBaseDir = _PS_MODULE_DIR_ . 'fcpayone/vendor/';
if (file_exists($sFcPayoneAutoloadBaseDir . 'Payment/Payment.php')) {
require_once $sFcPayoneAutoloadBaseDir . 'Payment/Payment.php';
if (class_exists('Payone\Payment\Payment')) {
Expand Down
File renamed without changes.

0 comments on commit 337af90

Please sign in to comment.