Jump to content

Editing code - start with PHP for ID in URL


Recommended Posts

Hello,
 
I need to start module for PrestaShop, but not open to me because of the ID in the url (www.mojeadresa.cz/cs/ ......)
Is it possible to modify this code to make it work? Always throws me "page is not available". When I try to open the script without ID, so it normally works.
 
PS: I do not want to remove ID.
 
Many thanks in advance!
 
<?php

/* SSL Management */
$useSSL = true;

include(dirname(__FILE__).'/../../config/config.inc.php');
include(dirname(__FILE__).'/../../header.php');
include(dirname(__FILE__).'/iplatba.php');

/*if (!$cookie->isLogged())
Tools::redirect('authentication.php?back=order.php ');
*/
$iplatba = new Iplatba();
echo $iplatba->execPayment($cart);

include_once(dirname(__FILE__).'/../../footer.php');

?>
Link to comment
Share on other sites

×
×
  • Create New...