Changeset 7b68139 for src/webapp/webservice/inc/Config.php
- Timestamp:
- Apr 23, 2017, 5:41:30 PM (10 years ago)
- Branches:
- debian/bullseye, debian/jessie
- Children:
- 12afe34
- Parents:
- e9ed726 (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. - git-author:
- Joachim Langenbach <joachim.langenbach@…> (04/23/17 17:40:44)
- git-committer:
- Joachim Langenbach <joachim.langenbach@…> (04/23/17 17:41:30)
- File:
-
- 1 edited
-
src/webapp/webservice/inc/Config.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/webapp/webservice/inc/Config.php
re9ed726 r7b68139 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 __DIR__ ."/../data/"; 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.
