2024-09-06 20:28:06 +08:00

14 lines
350 B
PHP

<?php
/**
* Restler 1 compatibility mode enabler
*/
use Luracast\Restler\Defaults;
//changes in iAuthenticate
Defaults::$authenticationMethod = 'isAuthenticated';
include __DIR__ . '/iAuthenticate.php';
//changes in routing
Defaults::$autoRoutingEnabled = false;
Defaults::$smartParameterParsing = false;
Defaults::$autoValidationEnabled = false;