Skip to content

Commit 87fc4a7

Browse files
committed
use d&d from tree browser
1 parent 12d7744 commit 87fc4a7

File tree

4 files changed

+23
-17
lines changed

4 files changed

+23
-17
lines changed

app/config/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ cmf_menu:
117117

118118
cmf_resource:
119119
description:
120-
enhancers: [sonata_phpcr_admin, cmf_tree_icons]
120+
enhancers: [sonata_phpcr_admin, cmf_tree_icons, doctrine_phpcr_position]
121121
repositories:
122122
default:
123123
type: doctrine/phpcr-odm

app/config/routing.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,7 @@ block_cache:
5252
cmf_resource:
5353
resource: '@CmfResourceRestBundle/Resources/config/routing.yml'
5454
prefix: /admin
55+
56+
sonata_phpcr_admin_tree:
57+
resource: '@SonataDoctrinePHPCRAdminBundle/Resources/config/routing/tree.xml'
58+
prefix: /admin

composer.lock

Lines changed: 16 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

web/config.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
exit('This script cannot be run from the CLI. Run it from a browser.');
1515
}
1616

17-
if (!in_array(@$_SERVER['REMOTE_ADDR'], [
17+
if (!in_array(@$_SERVER['REMOTE_ADDR'], array(
1818
'127.0.0.1',
1919
'::1',
20-
])) {
20+
))) {
2121
header('HTTP/1.0 403 Forbidden');
2222
exit('This script is only accessible from localhost.');
2323
}

0 commit comments

Comments
 (0)