Skip to content

Commit

Permalink
Merge pull request #451 from teiling88/misc/improve-travis-build
Browse files Browse the repository at this point in the history
misc - adding SESSION_DOMAIN placeholder to improve travis build
  • Loading branch information
teiling88 committed Jan 25, 2017
2 parents 758723e + 9f2083a commit 3378c06
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 3 additions & 1 deletion .psh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,13 @@ const:
DB_HOST: "localhost"
FRONTEND_URL: "http://local.team-opencaching.de"
DIR: "__DIR__"
SESSION_DOMAIN: ".team-opencaching.de"

environments:
travis-ci:
paths:
- "dev-ops/travis-ci/actions"
const:
DB_HOST: '127.0.0.1'
FRONTEND_URL: "http://127.0.0.1"
FRONTEND_URL: "http://localhost"
SESSION_DOMAIN: "localhost"
1 change: 0 additions & 1 deletion bin/provision.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/usr/bin/env bash

# enter url for SQL dump. e.g. http://opencaching.de/dump.sql
function label {
echo -e "\n\033[0;34m=> ${1}\033[0m\n"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ $opt['lib']['w3w']['apikey'] = 'X27PDW41';
$opt['session']['mode'] = SAVE_COOKIE;
$opt['session']['cookiename'] = 'ocvagrant'; // only with SAVE_COOKIE
$opt['session']['path'] = '/';
$opt['session']['domain'] = '.team-opencaching.de'; // may be overwritten by $opt['domain'][...]['cookiedomain']
$opt['session']['domain'] = '__SESSION_DOMAIN__'; // may be overwritten by $opt['domain'][...]['cookiedomain']

/* If the Referer was sent by the client and the substring was not found,
* the embedded session id will be marked as invalid.
Expand Down
3 changes: 1 addition & 2 deletions htdocs/api/rot13.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?php
/***************************************************************************
* For license information see doc/license.txt
*
* For license information see doc/license.txt *
*
* Rot13 hint decoder
***************************************************************************/
Expand Down
4 changes: 2 additions & 2 deletions htdocs/lib/settings-dev.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@
$zip_basedir = $dev_basepath . ($dev_codepath == '*' ? '' : $dev_codepath . 'htdocs/') . 'download/zip/';
$zip_wwwdir = 'download/zip/';

$googlemap_key = "<key>";
$googlemap_type = "G_MAP_TYPE"; // alternativ: _HYBRID_TYPE
$googlemap_key = '<key>';
$googlemap_type = 'G_MAP_TYPE'; // alternativ: _HYBRID_TYPE

$opt['translate']['debug'] = false;

Expand Down

0 comments on commit 3378c06

Please sign in to comment.