prosody
changeset 524 3f9f67f1a106
parent 523 c0f15538f358
parent 519 cccd610a0ef9
child 569 5216efe6088b
equal deleted inserted replaced
523:c0f15538f358 524:3f9f67f1a106
     1 #!/usr/bin/env lua
     1 #!/usr/bin/env lua
       
     2 -- Prosody IM v0.1
       
     3 -- Copyright (C) 2008 Matthew Wild
       
     4 -- Copyright (C) 2008 Waqas Hussain
       
     5 -- 
       
     6 -- This program is free software; you can redistribute it and/or
       
     7 -- modify it under the terms of the GNU General Public License
       
     8 -- as published by the Free Software Foundation; either version 2
       
     9 -- of the License, or (at your option) any later version.
       
    10 -- 
       
    11 -- This program is distributed in the hope that it will be useful,
       
    12 -- but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    13 -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
       
    14 -- GNU General Public License for more details.
       
    15 -- 
       
    16 -- You should have received a copy of the GNU General Public License
       
    17 -- along with this program; if not, write to the Free Software
       
    18 -- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
       
    19 --
       
    20 
       
    21 
     2 
    22 
     3 -- Config here --
    23 -- Config here --
     4 
    24 
     5 CFG_SOURCEDIR=nil;
    25 CFG_SOURCEDIR=nil;
     6 CFG_CONFIGDIR=os.getenv("PROSODY_CFGDIR");
    26 CFG_CONFIGDIR=os.getenv("PROSODY_CFGDIR");