source: src/webservice/htdocs/inc/envsetup.php@ a0f5395

Last change on this file since a0f5395 was 1e37648, checked in by Joachim Langenbach <joachim.langenbach@…>, 11 years ago
  • Rewrites are now working
    • Setup is now accessable via Slim too
    • Added 404 template to Slim app
  • Property mode set to 100644
File size: 1.2 KB
Line 
1<?php
2/*
3 Copyright (C) 2015 EngSaS - Engineering Solutions and Services Langenbach. All rights reserved.
4
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
9
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public
16 License along with this library; if not, write to the Free Software
17 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
18 MA 02110-1301 USA.
19*/
20
21// set_include_path(get_include_path() . PATH_SEPARATOR . __DIR__ ."/../../vendor/");
22$composerAutoloader = require(__DIR__ ."/../../../vendor/autoload.php");
23if(is_object($composerAutoloader)){
24 $composerAutoloader->add("SiWeather\\Webservice\\", __DIR__ ."/../");
25 $composerAutoloader->register();
26}
27
28require_once(__DIR__ ."/translate.php");
29
30?>
Note: See TracBrowser for help on using the repository browser.