Friday, 19 October 2018

How To Protect The .ENV File In Laravel From Public Access

Put this code in .htaccess to hide from access

     <Files ~ "\.(git|env|json|config.js|md|gitignore|gitattributes|lock|example)$">
        Order allow,deny
        Deny from all
    </Files>
    <Files ~ "(artisan)$">
        Order allow,deny
        Deny from all
    </Files>

Machine Learning - Potato Leaf Disease Prediction

Step 1: import numpy as np import pandas as pd import splitfolders import matplotlib.pyplot as plt import tensorflow as tf from tensorflow i...