Skip to content

Commit

Permalink
chore(7.4): Replace Object with SS_Object
Browse files Browse the repository at this point in the history
  • Loading branch information
jcarter committed Jun 3, 2020
1 parent 3404a0f commit 9da231f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions _config.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
<?php

// Ensure compatibility with PHP 7.2 ("object" is a reserved word),
// with SilverStripe 3.6 (using Object) and SilverStripe 3.7 (using SS_Object)
if (!class_exists('SS_Object')) class_alias('Object', 'SS_Object');

Image::set_backend('Symbiote\\ContentServiceAssets\\ImageBackend');

//SS_Object::add_extension('Folder', 'CDNFolder');
Expand Down

0 comments on commit 9da231f

Please sign in to comment.