Category "public"

How to delete old images from public folder on update using Laravel

I want to delete older images in public folder on update: My Controller code: try { $path = public_path('profile_images'); @mkdir($path, '0777', true);

How can I deploy my Laravel project to root folder in Hostinger with git?

I'm trying deploy my project to Hostinger with git, but I can't deploy direct to root folder (/home/uXXXXXXXX). The path in cPanel is directly to /home/uXXXXXXX

Find the list of Google Container Registry public images

Where can I find the list of GCR public images? In case of docker images, we can list it in hub.docker.com. But I couldn't find anything like that for GCR.

I can not ssh to newly created ec2 instance within terraform

I can not ssh to my newly created ec2 instance using terraform Keep getting permission denied (publickey) I generated the key using ssh-keygen -t rsa command Pl

Cloudkit Public Database Error: "WRITE operation not permitted"

I have currently a problem with the CloudKit Public Database. Sometimes I receive an error when modifying records: Permission Failure" (10/2007); server messag

How to hide helper functions from public API in c

I'm working on a project and I need to create an API. I am using sockets to communicate between the server (my application) and the clients (the other applicat