Updated database & Implemented Docker support. (unfinished)
This commit is contained in:
parent
c380556255
commit
85a81784f9
25 changed files with 752 additions and 105 deletions
21
public/index.php
Normal file
21
public/index.php
Normal file
|
@ -0,0 +1,21 @@
|
|||
<?php
|
||||
|
||||
require 'ncc';
|
||||
import('net.nosial.socialbox');
|
||||
|
||||
try
|
||||
{
|
||||
\Socialbox\Socialbox::handleRequest();
|
||||
}
|
||||
catch(Exception $e)
|
||||
{
|
||||
http_response_code(500);
|
||||
|
||||
if(\Socialbox\Classes\Configuration::getSecurityConfiguration()->isDisplayInternalExceptions())
|
||||
{
|
||||
print_r($e);
|
||||
return;
|
||||
}
|
||||
|
||||
print('An internal error occurred');
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue