Project

General

Profile

Bug #22410 » 14050_cleaning_t3lib_exec.patch

Administrator Admin, 2010-11-24 10:51

View differences:

t3lib/class.t3lib_exec.php (revision )
<?php
/***************************************************************
* Copyright notice
*
* (c) 2002-2010 Ren? Fritz (r.fritz@colorcube.de)
* All rights reserved
*
* This script is part of the Typo3 project. The Typo3 project is
* free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* The GNU General Public License can be found at
* http://www.gnu.org/copyleft/gpl.html.
*
* This script 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.
*
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
* Copyright notice
*
* (c) 2002-2010 Ren? Fritz (r.fritz@colorcube.de)
* All rights reserved
*
* This script is part of the Typo3 project. The Typo3 project is
* free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* The GNU General Public License can be found at
* http://www.gnu.org/copyleft/gpl.html.
*
* This script 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.
*
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
/**
* t3lib_exec finds executables (programs) on Unix and Windows without knowing where they are
*
......
*
*
* 85: class t3lib_exec
* 95: function checkCommand($cmd, $handler='')
* 95: function checkCommand($cmd, $handler='')
* 166: function getCommand($cmd, $handler='', $handlerOpt='')
* 166: function getCommand($cmd, $handler='', $handlerOpt='')
* 199: function addPaths($paths)
* 199: function addPaths($paths)
* 211: function getPaths($addInvalid=false)
* 211: function getPaths($addInvalid=false)
* 237: function _init()
* 237: function _init()
* 259: function _initPaths($paths='')
* 259: function _initPaths($paths='')
* 312: function _getConfiguredApps()
* 312: function _getConfiguredApps()
* 339: function _getPaths()
* 339: function _getPaths()
* 400: function _fixPath($path)
* 400: function _fixPath($path)
*
* TOTAL FUNCTIONS: 9
* (This index is automatically created/updated by the extension "extdeveval")
......
*/
/**
* returns exec command for a program
* or false
......
}
}
if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['t3lib/class.t3lib_exec.php']) {
if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['t3lib/class.t3lib_exec.php']) {
include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['t3lib/class.t3lib_exec.php']);
}
?>
(20-20/93)