silverstripe-gridfieldexten.../_config.php

8 lines
230 B
PHP
Raw Permalink Normal View History

2018-09-07 09:46:43 +02:00
<?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)
2018-09-07 10:12:01 +02:00
if (!class_exists('SS_Object')) {
2018-09-07 10:17:01 +02:00
class_alias('Object', 'SS_Object');
2018-09-07 10:12:01 +02:00
}