Main Page | Directories | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages | Examples

class.t3lib_exec.php File Reference

Go to the source code of this file.

Namespaces

namespace  TYPO3

Classes

class  t3lib_exec

Functions

 _getOS ()
 returns on which OS we're runing
 _fixPath ($path)
 set a path to the right format


Function Documentation

_fixPath path  ) 
 

set a path to the right format

Parameters:
string path
Returns:
string path

Definition at line 351 of file class.t3lib_exec.php.

References TYPO3_MODE.

Referenced by t3lib_exec::_getPaths().

00351                               {
00352       return str_replace ('//',"/",$path.'/');
00353    }

_getOS  ) 
 

returns on which OS we're runing

Returns:
string the OS type: "UNIX" or "WIN"

Definition at line 340 of file class.t3lib_exec.php.

Referenced by t3lib_exec::_getPaths(), and t3lib_exec::checkCommand().

00340                      {
00341       return stristr(PHP_OS,'win')&&!stristr(PHP_OS,'darwin')?'WIN':'UNIX';
00342    }


Generated on Sun Oct 3 01:06:02 2004 for TYPO3core 3.7.0 dev by  doxygen 1.3.8-20040913