Skip to content

Commit 3e2280a

Browse files
jessevzjessevz
andauthored
Added missing include (#1769)
* Added missing include * Pinned dockerfile on php 8.4 since not all packages have 8.5 support --------- Co-authored-by: jessevz <[email protected]>
1 parent 35f6fee commit 3e2280a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ RUN cd / && git rev-parse --short HEAD > /HEAD; exit 0
66

77
# BASE image
88
# ----BEGIN----
9-
FROM php:8-apache AS hashtopolis-server-base
9+
FROM php:8.4-apache AS hashtopolis-server-base
1010

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

106106
# Setting up development requirements, install xdebug
107-
RUN yes | pecl install xdebug-3.4.0beta1 && docker-php-ext-enable xdebug \
107+
RUN yes | pecl install xdebug && docker-php-ext-enable xdebug \
108108
&& echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini \
109109
&& echo "xdebug.mode = debug" >> /usr/local/etc/php/conf.d/xdebug.ini \
110110
&& echo "xdebug.start_with_request = yes" >> /usr/local/etc/php/conf.d/xdebug.ini \

src/api/v2/index.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@ public static function addCORSheaders(Request $request, $response) {
308308
require __DIR__ . "/../../inc/apiv2/helper/getAgentBinary.routes.php";
309309
require __DIR__ . "/../../inc/apiv2/helper/getCracksOfTask.routes.php";
310310
require __DIR__ . "/../../inc/apiv2/helper/getFile.routes.php";
311+
require __DIR__ . "/../../inc/apiv2/helper/getTaskProgressImage.routes.php";
311312
require __DIR__ . "/../../inc/apiv2/helper/getUserPermission.routes.php";
312313
require __DIR__ . "/../../inc/apiv2/helper/importCrackedHashes.routes.php";
313314
require __DIR__ . "/../../inc/apiv2/helper/importFile.routes.php";

0 commit comments

Comments
 (0)