-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #48 from VisualAppeal/package-update
Updated packages
- Loading branch information
Showing
17 changed files
with
246 additions
and
249 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
FROM php:7.4-apache | ||
|
||
MAINTAINER VisualAppeal <[email protected]> | ||
|
||
RUN apt-get update && apt-get install -y libzip-dev libcurl4-openssl-dev | ||
RUN docker-php-ext-install -j$(nproc) zip curl | ||
|
||
ADD ./vendor /var/www/html/vendor | ||
ADD ./example /var/www/html/example | ||
ADD ./src /var/www/html/src | ||
|
||
RUN chown -R www-data:www-data /var/www/html/example |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
version: '3' | ||
|
||
services: | ||
app: | ||
build: . | ||
ports: | ||
- 8080:80 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>PHP Auto Update</title> | ||
|
||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css"> | ||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css"> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<div class="container mt-4"> | ||
<p>This is the test index.</p> | ||
|
||
<p><a class="btn btn-primary" href="update/index.php">Update now!</a></p> | ||
<p><a class="btn btn-primary" href="/example/client/update/index.php">Update now!</a></p> | ||
|
||
<p>Contents of "somefile.php":</p> | ||
<pre><?php require(__DIR__ . '/somefile.php'); ?></pre> | ||
<p>Contents of <code>somefile.php</code>:</p> | ||
<pre><code><?php require(__DIR__ . '/somefile.php'); ?></code></pre> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
[0.1.0] | ||
url = http://php-auto-update.app/server/0.1.0.zip | ||
url = http://127.0.0.1:80/example/server/0.1.0.zip | ||
|
||
[0.2.0] | ||
url = http://php-auto-update.app/server/0.2.0.zip | ||
url = http://127.0.0.1:80/example/server/0.2.0.zip | ||
|
||
[0.2.1] | ||
url = http://php-auto-update.app/server/0.2.1.zip | ||
url = http://127.0.0.1:80/example/server/0.2.1.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"0.1.0": "http://php-auto-update.app/server/0.1.0.zip", | ||
"0.2.0": "http://php-auto-update.app/server/0.2.0.zip", | ||
"0.2.1": "http://php-auto-update.app/server/0.2.1.zip" | ||
"0.1.0": "http://127.0.0.1:80/example/server/0.1.0.zip", | ||
"0.2.0": "http://127.0.0.1:80/example/server/0.2.0.zip", | ||
"0.2.1": "http://127.0.0.1:80/example/server/0.2.1.zip" | ||
} |
Oops, something went wrong.