bin/manage
author Colas Nahaboo <colas@nahaboo.net>
Sat, 26 Jan 2008 15:50:53 +0100
changeset 0 414e01d06fd5
child 1 e2915a7cbdfa
permissions -rwxr-xr-x
RELEASE 4.2.0 freetown
colas@0
     1
#!/usr/bin/perl -wT
colas@0
     2
#
colas@0
     3
# TWiki Enterprise Collaboration Platform, http://TWiki.org/
colas@0
     4
#
colas@0
     5
# Copyright (C) 1999-2007 Peter Thoeny and TWiki Contributors.
colas@0
     6
#
colas@0
     7
# For licensing info read LICENSE file in the TWiki root.
colas@0
     8
# This program is free software; you can redistribute it and/or
colas@0
     9
# modify it under the terms of the GNU General Public License
colas@0
    10
# as published by the Free Software Foundation; either version 2
colas@0
    11
# of the License, or (at your option) any later version.
colas@0
    12
#
colas@0
    13
# This program is distributed in the hope that it will be useful,
colas@0
    14
# but WITHOUT ANY WARRANTY; without even the implied warranty of
colas@0
    15
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
colas@0
    16
# GNU General Public License for more details, published at
colas@0
    17
# http://www.gnu.org/copyleft/gpl.html
colas@0
    18
#
colas@0
    19
# As per the GPL, removal of this notice is prohibited.
colas@0
    20
colas@0
    21
BEGIN {
colas@0
    22
    # See the 'view' script for a description of what this does
colas@0
    23
    if( $ENV{"SCRIPT_FILENAME"} &&
colas@0
    24
        $ENV{"SCRIPT_FILENAME"} =~ /^(.+)\/[^\/]+$/ ) {
colas@0
    25
        chdir $1;
colas@0
    26
    }
colas@0
    27
    unshift @INC, '.';
colas@0
    28
    require 'setlib.cfg';
colas@0
    29
}
colas@0
    30
colas@0
    31
use TWiki::UI;
colas@0
    32
use TWiki::UI::Manage;
colas@0
    33
TWiki::UI::run( \&TWiki::UI::Manage::manage );