[ Index ] |
|
Code source de Typo3 4.1.3 |
1 #! /usr/bin/php -q 2 <?php 3 4 // ***************************************** 5 // Standard initialization of a CLI module: 6 // ***************************************** 7 8 // Defining circumstances for CLI mode: 9 define('TYPO3_cliMode', TRUE); 10 11 // Defining PATH_thisScript here: Must be the ABSOLUTE path of this script in the right context: 12 // This will work as long as the script is called by it's absolute path! 13 define('PATH_thisScript',$_ENV['_']?$_ENV['_']:$_SERVER['_']); 14 15 // Include configuration file: 16 require(dirname(PATH_thisScript).'/conf.php'); 17 18 // Include init file: 19 require(dirname(PATH_thisScript).'/'.$BACK_PATH.'init.php'); 20 21 22 23 # HERE you run your application! 24 require_once(PATH_typo3.'mod/user/ws/class.wslib.php'); 25 26 $autopubObj = t3lib_div::makeInstance('wslib'); 27 $autopubObj->CLI_main(); 28 29 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Nov 25 17:13:16 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |