Skip to content

Commit e20d8a3

Browse files
committed
Fix bug
1 parent 7478e95 commit e20d8a3

File tree

126 files changed

+3332
-444
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+3332
-444
lines changed

LICENSE

100644100755
File mode changed.

README.md

100644100755
File mode changed.

config.xml

100644100755
File mode changed.

controllers/admin/AdminVuefrontController.php

100644100755
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
<?php
2+
/**
3+
* 2019 (c) VueFront
4+
*
5+
* MODULE VueFront
6+
*
7+
* @author VueFront
8+
* @copyright Copyright (c) permanent, VueFront
9+
* @license MIT
10+
* @version 0.1.0
11+
*/
212

313
class AdminVuefrontController extends ModuleAdminController
414
{

controllers/admin/index.php

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<?php
2+
/*
3+
* 2007-2017 PrestaShop
4+
*
5+
* NOTICE OF LICENSE
6+
*
7+
* This source file is subject to the Open Software License (OSL 3.0)
8+
* that is bundled with this package in the file LICENSE.txt.
9+
* It is also available through the world-wide-web at this URL:
10+
* http://opensource.org/licenses/osl-3.0.php
11+
* If you did not receive a copy of the license and are unable to
12+
* obtain it through the world-wide-web, please send an email
13+
* to license@prestashop.com so we can send you a copy immediately.
14+
*
15+
* DISCLAIMER
16+
*
17+
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
18+
* versions in the future. If you wish to customize PrestaShop for your
19+
* needs please refer to http://www.prestashop.com for more information.
20+
*
21+
* @author PrestaShop SA <contact@prestashop.com>
22+
* @copyright 2007-2016 PrestaShop SA
23+
* @version Release: $Revision$
24+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
25+
* International Registered Trademark & Property of PrestaShop SA
26+
*/
27+
28+
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
29+
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
30+
31+
header("Cache-Control: no-store, no-cache, must-revalidate");
32+
header("Cache-Control: post-check=0, pre-check=0", false);
33+
header("Pragma: no-cache");
34+
35+
header("Location: ../");
36+
exit;

controllers/front/graphql.php

100644100755
Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
11
<?php
2+
/**
3+
* 2019 (c) VueFront
4+
*
5+
* MODULE VueFront
6+
*
7+
* @author VueFront
8+
* @copyright Copyright (c) permanent, VueFront
9+
* @license MIT
10+
* @version 0.1.0
11+
*/
12+
213
error_reporting(E_ALL);
314
ini_set('display_errors', 1);
415

@@ -8,7 +19,7 @@
819
* d_vuefront
920
* d_vuefront.php
1021
*/
11-
class D_VuefrontGraphqlModuleFrontController extends ModuleFrontController
22+
class d_VuefrontGraphqlModuleFrontController extends ModuleFrontController
1223
{
1324
private $codename = "d_vuefront";
1425
private $route = "d_vuefront";

controllers/front/index.php

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<?php
2+
/*
3+
* 2007-2017 PrestaShop
4+
*
5+
* NOTICE OF LICENSE
6+
*
7+
* This source file is subject to the Open Software License (OSL 3.0)
8+
* that is bundled with this package in the file LICENSE.txt.
9+
* It is also available through the world-wide-web at this URL:
10+
* http://opensource.org/licenses/osl-3.0.php
11+
* If you did not receive a copy of the license and are unable to
12+
* obtain it through the world-wide-web, please send an email
13+
* to license@prestashop.com so we can send you a copy immediately.
14+
*
15+
* DISCLAIMER
16+
*
17+
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
18+
* versions in the future. If you wish to customize PrestaShop for your
19+
* needs please refer to http://www.prestashop.com for more information.
20+
*
21+
* @author PrestaShop SA <contact@prestashop.com>
22+
* @copyright 2007-2016 PrestaShop SA
23+
* @version Release: $Revision$
24+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
25+
* International Registered Trademark & Property of PrestaShop SA
26+
*/
27+
28+
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
29+
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
30+
31+
header("Cache-Control: no-store, no-cache, must-revalidate");
32+
header("Cache-Control: post-check=0, pre-check=0", false);
33+
header("Pragma: no-cache");
34+
35+
header("Location: ../");
36+
exit;

controllers/index.php

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<?php
2+
/*
3+
* 2007-2017 PrestaShop
4+
*
5+
* NOTICE OF LICENSE
6+
*
7+
* This source file is subject to the Open Software License (OSL 3.0)
8+
* that is bundled with this package in the file LICENSE.txt.
9+
* It is also available through the world-wide-web at this URL:
10+
* http://opensource.org/licenses/osl-3.0.php
11+
* If you did not receive a copy of the license and are unable to
12+
* obtain it through the world-wide-web, please send an email
13+
* to license@prestashop.com so we can send you a copy immediately.
14+
*
15+
* DISCLAIMER
16+
*
17+
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
18+
* versions in the future. If you wish to customize PrestaShop for your
19+
* needs please refer to http://www.prestashop.com for more information.
20+
*
21+
* @author PrestaShop SA <contact@prestashop.com>
22+
* @copyright 2007-2016 PrestaShop SA
23+
* @version Release: $Revision$
24+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
25+
* International Registered Trademark & Property of PrestaShop SA
26+
*/
27+
28+
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
29+
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
30+
31+
header("Cache-Control: no-store, no-cache, must-revalidate");
32+
header("Cache-Control: post-check=0, pre-check=0", false);
33+
header("Pragma: no-cache");
34+
35+
header("Location: ../");
36+
exit;

d_vuefront.php

100644100755
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
exit;
1212
}
1313

14-
class d_vuefront extends Module
14+
class d_Vuefront extends Module
1515
{
1616

1717
/** @var array Use to store the configuration from database */
@@ -56,7 +56,7 @@ public function install()
5656
public function uninstall()
5757
{
5858
return Configuration::deleteByName($this->name) &&
59-
parent::uninstall() &&
59+
parent::uninstall() &&
6060
$this->deleteAdminTab();
6161
}
6262

@@ -80,7 +80,8 @@ public function getContent()
8080
$this->context->controller->addJS($this->_path . '/views/js/clipboard.min.js');
8181

8282
$this->context->smarty->assign(array(
83-
'catalog' => Tools::getHttpHost(true).__PS_BASE_URI__.'index.php?controller=graphql&module=d_vuefront&fc=module',
83+
'catalog' => Tools::getHttpHost(true).
84+
__PS_BASE_URI__.'index.php?controller=graphql&module=vuefront&fc=module',
8485
'blog' => Module::isInstalled('prestablog')
8586
));
8687

index.php

100644100755
File mode changed.

0 commit comments

Comments
 (0)