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

This commit is contained in:
El RIDO 2017-10-03 19:45:47 +02:00
parent 58937aced4
commit 7197705d5c
No known key found for this signature in database
GPG Key ID: 0F5C940A6BD81F92
2 changed files with 3 additions and 2 deletions

View File

@ -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.

View File

@ -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';