Project

General

Profile

Actions

Feature #14470

closed

No netware support?

Added by old_Dietmar almost 20 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2004-12-25
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Some functions are platform dependent in the file class.t3lib_div.php:

function isAbsPath does only work with Windows, Unix and Linux operating sytems.

A absolure path with Novell Netware cal look like this:

WEB:/apache2/htdocs
WEB:\apache2\htdocs
WEB:apache2/htdocs

The "drive letter" in this example "WEB" has a length between 1 and 8 letters, so you should check like this:

return TYPO3_OS=='WINorNW' ? strpos(copy($path,0,9),':') : substr($path,0,1)=='/';

A second problem on Netware platforms was the redeclaration of the function tempnam. I don't know why, but this is not possible. You should rename you function e. g. tempnamp or something like this.

(issue imported from #M644)

Actions

Also available in: Atom PDF