Rev 1020 | Rev 1066 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1020 | Rev 1050 | ||
---|---|---|---|
Line 15... | Line 15... | ||
15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
16 | * See the License for the specific language governing permissions and |
16 | * See the License for the specific language governing permissions and |
17 | * limitations under the License. |
17 | * limitations under the License. |
18 | */ |
18 | */ |
19 | 19 | ||
- | 20 | use ViaThinkSoft\OIDplus\OIDplus; |
|
- | 21 | use ViaThinkSoft\OIDplus\OIDplusGui; |
|
- | 22 | ||
20 | header('Content-Type:text/html; charset=UTF-8'); |
23 | header('Content-Type:text/html; charset=UTF-8'); |
21 | 24 | ||
22 | require_once __DIR__ . '/includes/oidplus.inc.php'; |
25 | require_once __DIR__ . '/includes/oidplus.inc.php'; |
23 | 26 | ||
24 | set_exception_handler(array('OIDplusGui', 'html_exception_handler')); |
27 | set_exception_handler(array(OIDplusGui::class, 'html_exception_handler')); |
25 | 28 | ||
26 | ob_start(); // allow cookie headers to be sent |
29 | ob_start(); // allow cookie headers to be sent |
27 | 30 | ||
28 | OIDplus::init(true); |
31 | OIDplus::init(true); |
29 | 32 |