Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Tenzing
/
banners-with-skip
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
29d496ae
authored
2016-03-30 16:54:03 -0400
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
docker
1 parent
6d5c0b72
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
docker-compose.yml
login.php
docker-compose.yml
View file @
29d496a
mysql
:
image
:
mysql/mysql-server
environment
:
-
DB_USER=root
-
DB_PASS=root
-
DB_NAME=banners
ports
:
-
"
10093:3306"
web
:
# build: docker/web
image
:
banners_web
...
...
login.php
View file @
29d496a
...
...
@@ -25,7 +25,7 @@
<body><div
id=
"login"
>
<?php
<?php
include_once
(
"./config.php"
);
include_once
(
"includes/functions.php"
);
...
...
@@ -53,7 +53,7 @@
}
else
{
$authUrl
=
$gClient
->
createAuthUrl
();
}
echo
'<img src="tenzing.gif" width="259" alt="Tenzing" /></br>'
;
echo
'<
body><div id="login"><
img src="tenzing.gif" width="259" alt="Tenzing" /></br>'
;
if
(
isset
(
$authUrl
))
{
echo
'<a href="'
.
$authUrl
.
'"><img width="259" style="padding:20px;" src="./images/glogin.png" alt=""/></a>'
;
}
else
{
...
...
Please
register
or
sign in
to post a comment