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
<?php | |
/* | |
MIT License with Attribution Clause | |
Copyright (c) 2023 Lukas Dörr | |
Permission is hereby granted to use, modify, and distribute this software, provided that: | |
1. The above copyright notice and this permission notice are included. |
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
lukas@DESKTOP-NKGIEV8:/mnt/d/DDEV/typo3test$ ls -l vendor/bin | |
total 24 | |
-rwxrwxrwx 1 lukas lukas 3354 Aug 28 10:22 doctrine-dbal | |
-rwxrwxrwx 1 lukas lukas 3339 Aug 28 10:22 fluid | |
-rwxrwxrwx 1 lukas lukas 3351 Aug 28 10:22 php-parse | |
-rwxrwxrwx 1 lukas lukas 3318 Aug 28 10:22 typo3 | |
-rwxrwxrwx 1 lukas lukas 3348 Aug 28 10:22 typo3cms | |
-rwxrwxrwx 1 lukas lukas 3369 Aug 28 10:22 yaml-lint | |
lukas@DESKTOP-NKGIEV8:/mnt/d/DDEV/typo3test$ |
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
lukas@DESKTOP-NKGIEV8:/mnt/d/DDEV/typo3test$ ddev composer dump-autoload | |
Generating autoload files | |
> typo3cms install:fixfolderstructure | |
sh: 1: typo3cms: Permission denied | |
Script typo3cms install:fixfolderstructure handling the typo3-cms-scripts event returned with error code 126 | |
Script @typo3-cms-scripts was called via post-autoload-dump | |
composer [dump-autoload] failed, composer command failed: exit status 126. stderr= | |
lukas@DESKTOP-NKGIEV8:/mnt/d/DDEV/typo3test$ |
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
lukas@DESKTOP-NKGIEV8:/mnt/d/DDEV/typo3test$ ddev composer dump-autoload | |
Generating autoload files | |
> typo3cms install:fixfolderstructure | |
The following directory structure has been fixed: | |
Fixed permission on /public/typo3temp/index.html. | |
Fixed permission on /public/fileadmin/.htaccess. | |
Fixed permission on /public/fileadmin/_temp_/.htaccess. | |
Fixed permission on /public/fileadmin/_temp_/index.html. | |
Fixed permission on /public/fileadmin/user_upload/_temp_/index.html. | |
Fixed permission on /public/fileadmin/user_upload/_temp_/importexport/.htaccess. |
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
lukas@DESKTOP-NKGIEV8:/mnt/d/DDEV/typo3test$ ddev debug test | |
Running bash [-c /tmp/test_ddev.sh] | |
OS Information: Linux DESKTOP-NKGIEV8 5.10.16.3-microsoft-standard-WSL2 #1 SMP Fri Apr 2 22:23:49 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux | |
User information: uid=1000(lukas) gid=1000(lukas) groups=1000(lukas),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),119(lxd),1001(docker) | |
DDEV version: ITEM VALUE | |
DDEV version v1.21.1 | |
architecture amd64 | |
db drud/ddev-dbserver-mariadb-10.4:v1.20.0 | |
dba phpmyadmin:5 | |
ddev-ssh-agent drud/ddev-ssh-agent:v1.20.0 |
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
199.192.22.72 | |
109.168.97.89 | |
103.174.87.138 | |
47.105.86.21 | |
89.46.109.154 | |
95.167.178.158 | |
45.162.168.221 | |
107.161.177.10 | |
139.59.117.30 |
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
<?php | |
//Check if there is a query in GET | |
if(!$_GET['query']) { | |
//If not, we can just use our own ip address | |
$addr = $_SERVER['REMOTE_ADDR']; | |
} | |
else { | |
$addr = $_GET['query']; |