ws_cli.phpsh

来自「Typo3, 开源里边最强大的」· PHPSH 代码 · 共 29 行

PHPSH
29
字号
#! /usr/bin/php -q<?php// *****************************************// Standard initialization of a CLI module:// *****************************************	// Defining circumstances for CLI mode:define('TYPO3_cliMode', TRUE);	// Defining PATH_thisScript here: Must be the ABSOLUTE path of this script in the right context:	// This will work as long as the script is called by it's absolute path!define('PATH_thisScript',$_ENV['_']?$_ENV['_']:$_SERVER['_']);	// Include configuration file:require(dirname(PATH_thisScript).'/conf.php');	// Include init file:require(dirname(PATH_thisScript).'/'.$BACK_PATH.'init.php');# HERE you run your application!require_once(PATH_typo3.'mod/user/ws/class.wslib.php');$autopubObj = t3lib_div::makeInstance('wslib');$autopubObj->CLI_main();?>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?