Changeset 8fd7454 for src/webapp/webservice/inc/GnuBoat/Config.php
- Timestamp:
- Dec 10, 2017, 4:32:57 PM (9 years ago)
- Branches:
- debian/bullseye, debian/jessie
- Children:
- ce5244e
- Parents:
- c810990 (diff), 8ef59a1 (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/GnuBoat/Config.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/webapp/webservice/inc/GnuBoat/Config.php
rc810990 r8fd7454 26 26 public function __construct() 27 27 { 28 $configFile = __DIR__ ."/../ config/config.php";28 $configFile = __DIR__ ."/../../config/config.php"; 29 29 if(file_exists($configFile)){ 30 30 include($configFile); … … 51 51 { 52 52 if(array_key_exists("datadirectory", $this->_config)) 53 return addTrailingSlash($this->_config["datadirectory"]);53 return $this->addTrailingSlash($this->_config["datadirectory"]); 54 54 return "/var/lib/gnuboat/"; 55 55 } … … 58 58 { 59 59 if(array_key_exists("logdirectory", $this->_config)) 60 return addTrailingSlash($this->_config["logdirectory"]);60 return $this->addTrailingSlash($this->_config["logdirectory"]); 61 61 return "/var/log/gnuboat/"; 62 62 }
Note:
See TracChangeset
for help on using the changeset viewer.
