Permalink
Browse files

Merge pull request #95 from lrc/config

MINOR Move config to yaml
  • Loading branch information...
2 parents 0f2f463 + a34bc10 commit 02fb7b6772aafc803cb6f4d60e926b4f4463cfab @chillu chillu committed Feb 19, 2013
Showing with 15 additions and 5 deletions.
  1. +0 −5 _config.php
  2. +15 −0 _config/extensions.yml
View
@@ -1,5 +0,0 @@
-<?php
-Object::add_extension('SiteTree', 'Translatable');
-Object::add_extension('SiteConfig', 'Translatable');
-Object::add_extension('LeftAndMain', 'TranslatableCMSMainExtension');
-Object::add_extension('HtmlEditorField_Toolbar', 'TranslatableEditorToolbarExtension');
View
@@ -0,0 +1,15 @@
+---
+Name: translatable-extensions
+---
+SiteTree:
+ extensions:
+ ['Translatable']
+SiteConfig:
+ extensions:
+ ['Translatable']
+LeftAndMain:
+ extensions:
+ ['TranslatableCMSMainExtension']
+HtmlEditorField_Toolbar:
+ extensions:
+ ['TranslatableEditorToolbarExtension']

0 comments on commit 02fb7b6

Please sign in to comment.