Relocate folders
the old "www/layout/<admin/frontend>/<template name>/..." layout is deprecated. new layout: www/layout/<admin|frontend>/<cache/css/images/javascript>/ The layout/<admin/frontend> is symlinked to www/<admin|frontend>/layout templates and lang are moved to includes www/includes/template/<admin/frontend> www/includes/lang/<admin/frontend> and no longer symlinked to any public facing folders The language po files have already been moved to 4dev/lang/<admin|frontend>/
This commit is contained in:
7
www/frontend/.htaccess
Normal file
7
www/frontend/.htaccess
Normal file
@@ -0,0 +1,7 @@
|
||||
RewriteEngine on
|
||||
# not a file
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
# not a directory
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
# throw the whole path to the url as form parameter
|
||||
RewriteRule (.*) index.php?path=$1 [QSA,L]
|
||||
1
www/frontend/config.php
Symbolic link
1
www/frontend/config.php
Symbolic link
@@ -0,0 +1 @@
|
||||
../configs/config.php
|
||||
1
www/frontend/foo/config.php
Symbolic link
1
www/frontend/foo/config.php
Symbolic link
@@ -0,0 +1 @@
|
||||
../../configs/config.php
|
||||
3
www/frontend/foo/index.php
Normal file
3
www/frontend/foo/index.php
Normal file
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
|
||||
require 'config.php';
|
||||
3
www/frontend/index.php
Normal file
3
www/frontend/index.php
Normal file
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
|
||||
require 'config.php';
|
||||
Reference in New Issue
Block a user