updating unit test in preparation for planned file name change, currently failing

El RIDO 7 years ago
parent e505f8ab71
commit 2c8a4c631b
No known key found for this signature in database
GPG Key ID: 0F5C940A6BD81F92

@ -1,3 +1,4 @@
;<?php
; config file for PrivateBin ; config file for PrivateBin
; ;
; An explanation of each setting can be find online at https://github.com/PrivateBin/PrivateBin/wiki/Configuration. ; An explanation of each setting can be find online at https://github.com/PrivateBin/PrivateBin/wiki/Configuration.

@ -12,10 +12,10 @@ if (!defined('PATH')) {
define('PATH', '..' . DIRECTORY_SEPARATOR); define('PATH', '..' . DIRECTORY_SEPARATOR);
} }
if (!defined('CONF')) { if (!defined('CONF')) {
define('CONF', PATH . 'cfg' . DIRECTORY_SEPARATOR . 'conf.ini'); define('CONF', PATH . 'cfg' . DIRECTORY_SEPARATOR . 'conf.php');
} }
if (!is_file(CONF)) { if (!is_file(CONF)) {
copy(CONF . '.sample', CONF); copy(PATH . 'cfg' . DIRECTORY_SEPARATOR . 'conf.sample.php', CONF);
} }
require PATH . 'vendor/autoload.php'; require PATH . 'vendor/autoload.php';

Loading…
Cancel
Save