Skip to content

Commit

Permalink
Merge pull request #900 from josaphatim/fixed-creating-updating-delet…
Browse files Browse the repository at this point in the history
…ing-account

Fixed creating, deleting account and updating password
  • Loading branch information
kroky authored Feb 16, 2024
2 parents d7a895d + 56eac4e commit fb83586
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/create_account.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,12 @@
define('WEB_ROOT', '');

/* get the framework */
require VENDOR_PATH.'autoload.php';
require APP_PATH.'lib/framework.php';

$environment = Hm_Environment::getInstance();
$environment->load();

/* get config object */
$config = new Hm_Site_Config_File();

Expand Down
4 changes: 4 additions & 0 deletions scripts/delete_account.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@
define('WEB_ROOT', '');

/* get the framework */
require VENDOR_PATH.'autoload.php';
require APP_PATH.'lib/framework.php';

$environment = Hm_Environment::getInstance();
$environment->load();
/* get config object */
$config = new Hm_Site_Config_File();

Expand Down
4 changes: 4 additions & 0 deletions scripts/update_password.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@
define('WEB_ROOT', '');

/* get the framework */
require VENDOR_PATH.'autoload.php';
require APP_PATH.'lib/framework.php';

$environment = Hm_Environment::getInstance();
$environment->load();
/* get config object */
$config = new Hm_Site_Config_File(merge_config_files(APP_PATH.'config'));

Expand Down

0 comments on commit fb83586

Please sign in to comment.