callback.php
来自「this the oscommerce 3.0 aplha 4」· PHP 代码 · 共 41 行
PHP
41 行
<?php/* $Id: $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2006 osCommerce This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License v2 (1991) as published by the Free Software Foundation.*/ class osC_Checkout_Callback extends osC_Template {/* Private variables */ var $_module = 'callback';/* Class constructor */ function osC_Checkout_Callback() { if (isset($_GET['module']) && (empty($_GET['module']) === false)) { if (file_exists('includes/modules/payment/' . $_GET['module'] . '.php')) { include('includes/classes/order.php'); include('includes/classes/payment.php'); include('includes/modules/payment/' . $_GET['module'] . '.php'); $module = 'osC_Payment_' . $_GET['module']; $module = new $module(); $module->callback(); } } exit; } }?>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?