#1858 Installation under Netware

v1.8.5
open
nobody
5
2012-12-08
2005-01-31
No

A installation unter Novell Netware 6.5 will fail because
initlib.php will treat netware as unix.
Thats wrong. The installation must be done like a win-
installation with a ";" seperator instead of ":".

Discussion

  • Damian Parker

    Damian Parker - 2005-03-06

    Logged In: YES
    user_id=458483

    Very kewl, finally a use for the OS flag on Admin->General
    (:smile:)

    Damian Parker
    <a href="http://tikihost.net">tikihost.net</a>

     
  • Guenter Knauf

    Guenter Knauf - 2005-07-10

    Logged In: YES
    user_id=670502

    This can be done automatically with the use of the predefined
    PHP PATH_SEPARATOR var; here's the patch:
    ###############################################
    --- initlib.php.orig Thu Aug 26 14:15:38 2004
    +++ initlib.php Sun Jul 10 21:19:58 2005
    @@ -40,14 +40,14 @@
    }

    -/** Return ';' if windows otherwise ':'
    +/** Return ';' if windows/netware otherwise ':'
    * \static
    */
    function pathSeparator() {
    static $separator;
    if (!isset($separator)) {
    - if (strtoupper(substr
    (PHP_OS, 0, 3)) == 'WIN') {
    - $separator = ';';
    + if (PATH_SEPARATOR != '')
    {
    + $separator =
    PATH_SEPARATOR;
    } else {
    $separator = ':';
    }

     

Log in to post a comment.