mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-03-22 13:10:41 +08:00
updating unit test in preparation for planned file name change, currently failing
This commit is contained in:
parent
58937aced4
commit
7197705d5c
|
@ -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…
Reference in New Issue
Block a user