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')) {
|
|
|
|
class_alias('Object', 'SS_Object');
|
|
|
|
}
|