Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN cd / && git rev-parse --short HEAD > /HEAD; exit 0

# BASE image
# ----BEGIN----
FROM php:8-apache AS hashtopolis-server-base
FROM php:8.4-apache AS hashtopolis-server-base

# Enable possible build args for injecting user commands
ARG CONTAINER_USER_CMD_PRE
Expand Down Expand Up @@ -104,7 +104,7 @@ ENTRYPOINT [ "docker-entrypoint.sh" ]
FROM hashtopolis-server-base AS hashtopolis-server-dev

# Setting up development requirements, install xdebug
RUN yes | pecl install xdebug-3.4.0beta1 && docker-php-ext-enable xdebug \
RUN yes | pecl install xdebug && docker-php-ext-enable xdebug \
&& echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini \
&& echo "xdebug.mode = debug" >> /usr/local/etc/php/conf.d/xdebug.ini \
&& echo "xdebug.start_with_request = yes" >> /usr/local/etc/php/conf.d/xdebug.ini \
Expand Down
1 change: 1 addition & 0 deletions src/api/v2/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,7 @@ public static function addCORSheaders(Request $request, $response) {
require __DIR__ . "/../../inc/apiv2/helper/getAgentBinary.routes.php";
require __DIR__ . "/../../inc/apiv2/helper/getCracksOfTask.routes.php";
require __DIR__ . "/../../inc/apiv2/helper/getFile.routes.php";
require __DIR__ . "/../../inc/apiv2/helper/getTaskProgressImage.routes.php";
require __DIR__ . "/../../inc/apiv2/helper/getUserPermission.routes.php";
require __DIR__ . "/../../inc/apiv2/helper/importCrackedHashes.routes.php";
require __DIR__ . "/../../inc/apiv2/helper/importFile.routes.php";
Expand Down