You've already forked OpenShorte.old
Moved all configurations away from $GLOBALS to independent variables
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
$database = new Database ( $GLOBALS [ 'config' ] [ 'db' ] );
|
||||
$database = new Database ( $config [ 'db' ] );
|
||||
$database->connect ( );
|
||||
if ( isset ( $_POST [ 'forgot_email' ] ) ) {
|
||||
//...
|
||||
@@ -13,8 +13,8 @@
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<link href="<?=$GLOBALS['config']['installation_path']?>/favicon.ico" rel="icon" type="image/x-icon">
|
||||
<title>Password Reset | <?=$GLOBALS['config']['website_name']?></title>
|
||||
<link href="<?=$config['installation_path']?>/favicon.ico" rel="icon" type="image/x-icon">
|
||||
<title>Password Reset | <?=$config['website_name']?></title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
Reference in New Issue
Block a user