Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

Commit

Permalink
Release 1.0.12
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Hunziker committed Mar 22, 2019
1 parent 92bcf55 commit 6cc46d7
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 12 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ This repository contains the OpenCart wallee payment module that enables the sh

## Documentation

* [English](https://plugin-documentation.wallee.com/wallee-payment/opencart-2.2/1.0.11/docs/en/documentation.html)
* [English](https://plugin-documentation.wallee.com/wallee-payment/opencart-2.2/1.0.12/docs/en/documentation.html)

## License

Please see the [license file](https://github.com/wallee-payment/opencart-2.2/blob/1.0.11/LICENSE) for more information.
Please see the [license file](https://github.com/wallee-payment/opencart-2.2/blob/1.0.12/LICENSE) for more information.
4 changes: 2 additions & 2 deletions docs/en/documentation.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ <h2>Documentation</h2> </div>
</a>
</li>
<li>
<a href="https://github.com/wallee-payment/opencart-2.2/releases/tag/1.0.11/">
<a href="https://github.com/wallee-payment/opencart-2.2/releases/tag/1.0.12/">
Source
</a>
</li>
Expand All @@ -48,7 +48,7 @@ <h1>
<div class="olist arabic">
<ol class="arabic">
<li>
<p><a href="https://github.com/wallee-payment/opencart-2.2/releases/tag/1.0.11/">Download</a> the extension.</p>
<p><a href="https://github.com/wallee-payment/opencart-2.2/releases/tag/1.0.12/">Download</a> the extension.</p>
</li>
<li>
<p>Extract the files and upload the content of the <code>Upload</code> directory into the root directory of your store using FTP/SSH.</p>
Expand Down
Binary file modified upload/admin/view/image/payment/wallee.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,8 @@
abstract class AbstractController extends \Controller {

protected function loadView($template, $data = array()){
$template = \WalleeVersionHelper::getTemplate($template);
if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/' . $template)) {
return $this->load->view($this->config->get('config_template') . '/template/' . $template, $data);
}
else {
return $this->load->view($template, $data);
}
$template = \WalleeVersionHelper::getTemplate($this->config->get('config_template'), $template);
return $this->load->view($template, $data);
}

protected function validate(){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@
is_file(modification($file))
]]></add>
</operation>
</file>
<file path="system/library/language.php">
<operation>
<search><![CDATA[
file_exists($file)
Expand All @@ -56,6 +58,8 @@
file_exists(modification($file))
]]></add>
</operation>
</file>
<file path="system/library/language.php">
<operation>
<search regex="true"><![CDATA[
~(require|include)(_once)?\(([^)]+)~
Expand All @@ -75,6 +79,8 @@
is_file(modification($file))
]]></add>
</operation>
</file>
<file path="system/engine/action.php">
<operation>
<search regex="true"><![CDATA[
~(require|include)(_once)?\(([^)]+)~
Expand Down
2 changes: 1 addition & 1 deletion upload/system/library/wallee/version_helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public static function extractPaymentSettingCode($code) {
public static function persistPluginStatus(\Registry $registry, array $post) {
}

public static function getTemplate($template){
public static function getTemplate($theme, $template){
return $template;
}

Expand Down

0 comments on commit 6cc46d7

Please sign in to comment.