11 lines
361 B
PHP
Raw Normal View History

<?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');
2016-07-21 17:53:59 +12:00
if (!defined('USERFORMS_DIR')) {
define('USERFORMS_DIR', basename(__DIR__));
}
2015-07-24 14:37:48 +12:00
Deprecation::notification_version('3.0', 'userforms');