updating
This commit is contained in:
@@ -27,13 +27,13 @@
|
|||||||
<?php
|
<?php
|
||||||
if(isset($_GET["end"])){
|
if(isset($_GET["end"])){
|
||||||
$success=1;
|
$success=1;
|
||||||
if(!unlink("create_admin.php")){
|
/* if(!unlink("create_admin.php")){
|
||||||
$success=0;
|
$success=0;
|
||||||
}if(!unlink("welcome.php")){
|
}if(!unlink("welcome.php")){
|
||||||
$success=0;
|
$success=0;
|
||||||
}if(!unlink("create_db.php")){
|
}if(!unlink("create_db.php")){
|
||||||
$success=0;
|
$success=0;
|
||||||
}
|
}*/
|
||||||
if($success!==1){
|
if($success!==1){
|
||||||
echo('<p style="font-size: 20px; color: red;">There was an error finishing the installation. Please try again or contact support at: <a href="mailto:info.jakach@gmail.com">info.jakach@gmail.com</a></p>');
|
echo('<p style="font-size: 20px; color: red;">There was an error finishing the installation. Please try again or contact support at: <a href="mailto:info.jakach@gmail.com">info.jakach@gmail.com</a></p>');
|
||||||
}else{
|
}else{
|
||||||
|
|||||||
@@ -9,8 +9,6 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
cyberhex-network:
|
cyberhex-network:
|
||||||
ipv4_address: 192.168.178.2
|
ipv4_address: 192.168.178.2
|
||||||
# ports:
|
|
||||||
# - "3306:3306"
|
|
||||||
volumes:
|
volumes:
|
||||||
- cyberhex-db-storage:/var/lib/mysql
|
- cyberhex-db-storage:/var/lib/mysql
|
||||||
|
|
||||||
@@ -31,7 +29,6 @@ services:
|
|||||||
- ./cyberhex-code:/var/www/html
|
- ./cyberhex-code:/var/www/html
|
||||||
- ./apache-conf:/etc/apache2/sites-available
|
- ./apache-conf:/etc/apache2/sites-available
|
||||||
- ./certs:/etc/apache2/certs
|
- ./certs:/etc/apache2/certs
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
cyberhex-network:
|
cyberhex-network:
|
||||||
driver: bridge
|
driver: bridge
|
||||||
|
|||||||
@@ -5,3 +5,5 @@ FROM php:apache
|
|||||||
RUN docker-php-ext-install mysqli
|
RUN docker-php-ext-install mysqli
|
||||||
RUN a2enmod ssl
|
RUN a2enmod ssl
|
||||||
RUN service apache2 restart
|
RUN service apache2 restart
|
||||||
|
RUN mkdir /var/www/html/install/
|
||||||
|
RUN chown -R www-data:www-data /var/www/html/install/
|
||||||
|
|||||||
Reference in New Issue
Block a user