Commit Graph

30 Commits

Author SHA1 Message Date
Tomas V.V.Cox
4920ac3362 more debug code removed *sigh* 2003-09-16 16:53:11 +00:00
Tomas V.V.Cox
cdcc98141e removed debug code 2003-09-16 16:49:26 +00:00
Tomas V.V.Cox
e76de52de7 * Implemented the find command (currently supported args:
-type f, -type d, -maxdepth, -name)
* Fixed recursion deep level in _dirToStruct()
2003-09-15 20:17:34 +00:00
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
Stig Bakken
0e6fca4f22 * email address change 2003-03-18 12:06:09 +00:00
Stig Bakken
796083b936 * System::which() now checks .exe .bat .cmd and .com on Windows 2003-01-09 15:11:27 +00:00
Sebastian Bergmann
61ce6bc8f1 Bump year. 2002-12-31 16:18:29 +00:00
Stig Bakken
aded559898 * Windows fix from Edin 2002-12-22 01:32:01 +00:00
Stig Bakken
e5dd8161e6 * _parseArgs bugfix 2002-12-13 02:07:22 +00:00
Stig Bakken
846ad56a13 * rename System::type to System::which 2002-10-12 14:17:44 +00:00
Pierre Joye
a00f439ff0 Hope to finnally got it, fixes notice (Thx to Sebastian) 2002-08-29 10:08:37 +00:00
Pierre Joye
5ea6a5b807 Rule 1: Never quickly fix a thing in cvs
Rule 2: follow rule 1
Thx rasmus :)
2002-08-26 00:18:00 +00:00
Pierre Joye
9870f455ff Remove $_ENV usages, this causes problems with recommanded php.ini files
Replace by getenv()
2002-08-25 18:11:24 +00:00
Tomas V.V.Cox
b8bace1e0a ZE2 fix on calls to mkdir() (thanks Brad Bulger <tater@potatoe.com>) 2002-08-10 16:33:08 +00:00
Tomas V.V.Cox
edfb9d44e4 Workarround to the empty $_ENV 2002-07-26 10:18:28 +00:00
Christian Dickmann
0220472176 silence unlink() and rmdir(). fix a bug where wasn't set due to wrong ini setting 2002-06-02 14:27:15 +00:00
Tomas V.V.Cox
3a32f51b11 fread already detects EOF 2002-05-31 18:49:47 +00:00
Tomas V.V.Cox
5d43ef2cd0 Be able to handle strings as well as arrays in _multipleToStruct() 2002-05-31 18:12:56 +00:00
Tomas V.V.Cox
5cb633933f - Make mkTemp() automatically removed temporary created files
or dirs at script shutdown time
- Remove unnecesarry PEAR inheritance
- Some PHPDoc fixes
2002-05-31 17:47:19 +00:00
Sebastian Bergmann
90613d2282 Maintain headers. 2002-02-28 08:29:35 +00:00
Tomas V.V.Cox
d966015b52 - Now error will be triggered with trigger_error(). When a command
fails the function will return false
- In-line documentation update
2002-02-10 17:03:22 +00:00
Tomas V.V.Cox
b91c077710 added 'System::type()' (show the full path of a command)
Copied almost verbatim from Stig's PEAR_Dependency::checkProgram()
2002-02-06 08:32:00 +00:00
Tomas V.V.Cox
62c9234520 Return false when the directory can not be created in mkDir() 2002-01-23 18:53:08 +00:00
Stig Bakken
bd1a88fab6 * use "windir" env.var on Windows too 2001-12-26 01:50:08 +00:00
Stig Bakken
6b8397b9f7 * added System::tmpdir() method (now uses SystemRoot env.var on Windows) 2001-12-26 01:23:04 +00:00
Martin Jansen
6c118a143a * Change $Version$ to $Revision$. 2001-12-18 17:06:28 +00:00
Tomas V.V.Cox
a74e56fe05 improved phpdoc of mkTemp() 2001-12-16 01:36:49 +00:00
Tomas V.V.Cox
aadc3fea32 Added System::mktemp() (Creates temporal files or directories) 2001-12-16 01:30:31 +00:00
Sebastian Bergmann
38933514e1 Update headers. 2001-12-11 15:32:16 +00:00
Stig Bakken
f8055473a4 * moved System.php out of Experimental/ 2001-10-29 12:15:53 +00:00