Would this be safe??
I would just like to hear if this "Cms" would be safe. So people cant do example.com/../../../systemfile.conf
My index.php
<?php
$url= rtrim($_GET['page'], '/');
echo $url;
include_once "sites/$url";
?>
My .htaccess
RewriteEngine On
options +FollowSymlinks
RewriteBase /
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.* - [L]
RewriteRule ^(.+)/? index.php?page=$1 [L,QSA]