1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/piwigo_ynh.git synced 2024-09-03 20:06:03 +02:00
piwigo_ynh/conf/hash_password.php
Jimmy Monin 76fc701a4b Major refactoring & complete Piwigo upgrade process:
- refactoring to comply with packaging latest standards/helpers
- use Piwigo internal upgrade process via a curl command
2017-06-03 18:13:29 +02:00

9 lines
267 B
PHP

<?php
define('PHPWG_ROOT_PATH','./');
include(PHPWG_ROOT_PATH . 'include/config_default.inc.php');
@include(PHPWG_ROOT_PATH. 'local/config/config.inc.php');
include(PHPWG_ROOT_PATH . 'include/functions.inc.php');
print $conf['password_hash']($argv[1]);
?>