diff --git a/.htaccess b/.htaccess index 4e4b814e..5a85c80c 100644 --- a/.htaccess +++ b/.htaccess @@ -10,6 +10,6 @@ RewriteRule ^content/(.*)\.txt$ - [R=404,L] # All URL process by index.php RewriteCond %{REQUEST_FILENAME} !-f -RewriteRule ^(.*) index.php [L] +RewriteRule ^(.*) index.php [PT,L] \ No newline at end of file diff --git a/kernel/boot/init.php b/kernel/boot/init.php index 8529f69e..5df37150 100644 --- a/kernel/boot/init.php +++ b/kernel/boot/init.php @@ -151,6 +151,7 @@ define('HTML_PATH_PLUGINS', HTML_PATH_ROOT.'plugins/'); // PHP paths with dependency define('PATH_THEME', PATH_ROOT.'themes/'.$Site->theme().'/'); +define('PATH_THEME_PHP', PATH_THEME.'php'.DS) // Objects with dependency $Language = new dbLanguage( $Site->locale() );