forked from leftypol/leftypol
...
This commit is contained in:
parent
2162238813
commit
e3f2aa8da3
5 changed files with 23 additions and 49 deletions
|
@ -65,8 +65,6 @@
|
|||
function error($message) {
|
||||
global $board, $mod, $config;
|
||||
|
||||
if(function_exists('sql_close')) sql_close();
|
||||
|
||||
if(defined('STDIN')) {
|
||||
// Running from CLI
|
||||
die('Error: ' . $message);
|
||||
|
@ -89,7 +87,6 @@
|
|||
function loginForm($error=false, $username=false, $redirect=false) {
|
||||
global $config;
|
||||
|
||||
if(function_exists('sql_close')) sql_close();
|
||||
die(Element('page.html', Array(
|
||||
'index'=>$config['root'],
|
||||
'title'=>'Login',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue