本文整理汇总了PHP中CHttpRequest::get_Vars方法的典型用法代码示例。如果您正苦于以下问题:PHP CHttpRequest::get_Vars方法的具体用法?PHP CHttpRequest::get_Vars怎么用?PHP CHttpRequest::get_Vars使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CHttpRequest
的用法示例。
在下文中一共展示了CHttpRequest::get_Vars方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: or
| as published by the Free Software Foundation; either version 2 |
| of the License, or (at your option) any later version. |
| |
| This program is distributed in the hope that it will be useful, |
| but WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| GNU General Public License for more details. |
+-------------------------------------------------------------------------+
*/
// Class autloader instance creation
require_once getcwd() . "/core/app/classautoloader.class.php";
// Add root path and exclusions
$classloader = new ClassAutoLoader();
$classloader->add_Path('core');
$classloader->add_Path('application');
$classloader->add_Exclusion('core/vendor/smarty-gettext-1.1');
// Get all $_POST and $_GET values
CHttpRequest::get_Vars();
// Views path
define('BW_ROOT', getcwd());
define('VIEW_DIR', BW_ROOT . "/application/view/");
define('VIEW_CACHE_DIR', BW_ROOT . "/application/view/cache");
// Configuration
define('CONFIG_DIR', BW_ROOT . "/application/config/");
define('CONFIG_FILE', CONFIG_DIR . "config.php");
// Locales
define('LOCALE_DIR', BW_ROOT . '/application/locale');
// Smarty
require_once BW_ROOT . '/core/vendor/smarty-gettext-1.1/smarty-gettext.php';
// PHPLot
require_once BW_ROOT . '/core/vendor/phplot-6.1.0/phplot.php';