massive amounts of fucking

This commit is contained in:
flash 2015-06-26 00:35:06 +02:00
parent 8d013a7769
commit 273cfe7bd2
5 changed files with 6 additions and 5 deletions

View file

@ -14,7 +14,7 @@ class Database {
public static function init($engine) {
// Make the engine class name lowercase
$engine = __NAMESPACE__ .'\\'. strtolower($engine);
$engine = __NAMESPACE__ .'\DBWrapper\\'. strtolower($engine);
// Check if the class exists
if(!class_exists($engine))

View file

@ -3,11 +3,12 @@
* Sakura MySQL Database Engine
*/
namespace Sakura;
namespace Sakura\DBWrapper;
use PDO;
use PDOException;
use PDOStatement;
use \Sakura\Configuration;
class MySQL {

View file

@ -8,7 +8,7 @@
namespace Sakura;
// Define Sakura version
define('SAKURA_VERSION', '20150621');
define('SAKURA_VERSION', '20150625');
define('SAKURA_VLABEL', 'Eminence');
define('SAKURA_VTYPE', 'Development');
define('SAKURA_COLOUR', '#6C3082');

View file

@ -7,9 +7,9 @@
<input type="hidden" name="time" value="{{ php.time }}" />
<input type="hidden" name="uid" value="{{ auth.userId }}" />
<input type="hidden" name="mode" value="changepassword" />
<div class="profile-field">
<div class="profile-field{% if auth.forgotKey %} hidden{% endif %}">
<div><h2>Verification Key</h2></div>
<div style="text-align: center;"><input type="text" name="verk" placeholder="The key that was sent to you in the e-mail" class="inputStyling"{% if auth.forgotKey is not null %} value="{{ auth.forgotKey }}" disabled="disabled"{% endif %} /></div>
<div style="text-align: center;"><input type="text" name="verk" placeholder="The key that was sent to you in the e-mail" class="inputStyling"{% if auth.forgotKey %} value="{{ auth.forgotKey }}"{% endif %} /></div>
</div>
<div class="profile-field">
<div><h2>New Password</h2></div>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB