Changeset c84f87e for src/webapp/webservice/inc
- Timestamp:
- Apr 27, 2017, 11:48:42 AM (10 years ago)
- Branches:
- 0.5, app-cordova, debian/bullseye, debian/jessie, master
- Children:
- 06c0abb, 12afe34, 22f7269
- Parents:
- 00a8800 (diff), 19ac332 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
src/webapp/webservice/inc/Config.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/webapp/webservice/inc/Config.php
r00a8800 rc84f87e 1 1 <?php 2 2 /* 3 Copyright (C) 2016 EngSaS - Engineering Solutions and Services Langenbach. All rights reserved.3 Copyright (C) 2016 - 2017 EngSaS - Engineering Solutions and Services Langenbach. All rights reserved. 4 4 5 5 This program is free software: you can redistribute it and/or modify … … 35 35 36 36 public function databaseFile(){ 37 return $this->dataDirectory() ." log-webservice.rrd";37 return $this->dataDirectory() ."gnuboat.rrd"; 38 38 } 39 39 40 40 public function shutdownRequestFile(){ 41 41 if(array_key_exists("shutdownfile", $this->_config)) … … 43 43 return "/var/spool/gnuboat/shutdown.request"; 44 44 } 45 45 46 46 public function dataDirectory(){ 47 47 if(array_key_exists("datadirectory", $this->_config)) … … 49 49 return "/var/lib/gnuboat/"; 50 50 } 51 51 52 52 private static function addTrailingSlash($path){ 53 53 $length = strlen($path); … … 57 57 return $path; 58 58 } 59 59 60 60 private $_config; 61 61 }
Note:
See TracChangeset
for help on using the changeset viewer.
