Skip to content

Commit

Permalink
Remove Object dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
axllent committed Mar 13, 2019
1 parent be5633b commit dbaddc8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
7 changes: 3 additions & 4 deletions _config.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php

if (!DEFINED('_CMS_TILED_GRIDFIELD_BASE_'))
DEFINE('_CMS_TILED_GRIDFIELD_BASE_', basename(dirname(__FILE__)));

Object::add_extension('LeftAndMain', 'LeftAndMainTiledGridFieldExt');
if (!DEFINED('_CMS_TILED_GRIDFIELD_BASE_')) {
DEFINE('_CMS_TILED_GRIDFIELD_BASE_', basename(dirname(__FILE__)));
}
3 changes: 3 additions & 0 deletions _config/extensions,yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
LeftAndMain:
extensions:
- LeftAndMainTiledGridFieldExt

0 comments on commit dbaddc8

Please sign in to comment.