Add secure public directory structure with .htaccess
- Created public/ directory for web-accessible files - Moved content and assets to public/ subdirectories - Added .htaccess files for security and routing - Updated config.php to use public/content path - Blocked direct access to PHP files and sensitive directories - Added URL routing to index.php - Enhanced security headers and PHP settings
This commit is contained in:
23
public/assets/favicon.svg
Normal file
23
public/assets/favicon.svg
Normal file
@@ -0,0 +1,23 @@
|
||||
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
|
||||
<defs>
|
||||
<linearGradient id="codepress-gradient-small" x1="0%" y1="0%" x2="100%" y2="100%">
|
||||
<stop offset="0%" style="stop-color:#0d6efd;stop-opacity:1" />
|
||||
<stop offset="100%" style="stop-color:#6610f2;stop-opacity:1" />
|
||||
</linearGradient>
|
||||
</defs>
|
||||
|
||||
<!-- Background circle -->
|
||||
<circle cx="8" cy="8" r="7.5" fill="url(#codepress-gradient-small)" stroke="#ffffff" stroke-width="0.5"/>
|
||||
|
||||
<!-- Code brackets -->
|
||||
<path d="M4 5 L3 6 L3 10 L4 11" stroke="#ffffff" stroke-width="1" fill="none" stroke-linecap="round"/>
|
||||
<path d="M12 5 L13 6 L13 10 L12 11" stroke="#ffffff" stroke-width="1" fill="none" stroke-linecap="round"/>
|
||||
|
||||
<!-- Code slash -->
|
||||
<path d="M7 4 L9 12" stroke="#ffffff" stroke-width="1" stroke-linecap="round"/>
|
||||
|
||||
<!-- Press dots -->
|
||||
<circle cx="6" cy="13" r="0.75" fill="#ffffff"/>
|
||||
<circle cx="8" cy="13" r="0.75" fill="#ffffff"/>
|
||||
<circle cx="10" cy="13" r="0.75" fill="#ffffff"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.0 KiB |
23
public/assets/icon.svg
Normal file
23
public/assets/icon.svg
Normal file
@@ -0,0 +1,23 @@
|
||||
<svg width="32" height="32" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg">
|
||||
<defs>
|
||||
<linearGradient id="codepress-gradient" x1="0%" y1="0%" x2="100%" y2="100%">
|
||||
<stop offset="0%" style="stop-color:#0d6efd;stop-opacity:1" />
|
||||
<stop offset="100%" style="stop-color:#6610f2;stop-opacity:1" />
|
||||
</linearGradient>
|
||||
</defs>
|
||||
|
||||
<!-- Background circle -->
|
||||
<circle cx="16" cy="16" r="15" fill="url(#codepress-gradient)" stroke="#ffffff" stroke-width="1"/>
|
||||
|
||||
<!-- Code brackets -->
|
||||
<path d="M8 10 L6 12 L6 20 L8 22" stroke="#ffffff" stroke-width="2" fill="none" stroke-linecap="round"/>
|
||||
<path d="M24 10 L26 12 L26 20 L24 22" stroke="#ffffff" stroke-width="2" fill="none" stroke-linecap="round"/>
|
||||
|
||||
<!-- Code slash -->
|
||||
<path d="M14 8 L18 24" stroke="#ffffff" stroke-width="2" stroke-linecap="round"/>
|
||||
|
||||
<!-- Press dots -->
|
||||
<circle cx="12" cy="26" r="1.5" fill="#ffffff"/>
|
||||
<circle cx="16" cy="26" r="1.5" fill="#ffffff"/>
|
||||
<circle cx="20" cy="26" r="1.5" fill="#ffffff"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1018 B |
Reference in New Issue
Block a user