Skip to content

Commit 7e83f19

Browse files
committed
"Autoload" functions file
1 parent 8b8670d commit 7e83f19

File tree

3 files changed

+1
-2
lines changed

3 files changed

+1
-2
lines changed

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"easybook/geshi": "For using GeSHi as code highlighter"
2828
},
2929
"autoload": {
30+
"files": ["src/functions.php"],
3031
"psr-4": {
3132
"phpdotnet\\phd\\": "src/"
3233
}

render.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
define("__INSTALLDIR__", '@php_dir@' == '@'.'php_dir@' ? __DIR__ : '@php_dir@');
1212

1313
require_once __INSTALLDIR__ . '/vendor/autoload.php';
14-
require __INSTALLDIR__ . '/src/functions.php';
1514

1615
$conf = array();
1716
if (file_exists("phd.config.php")) {

tests/setup.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
use phpdotnet\phd\Config;
55

66
require_once __DIR__ . '/../vendor/autoload.php';
7-
require_once __DIR__ . "/../src/functions.php";
87

98
Config::setMemoryIndex(true);
109

0 commit comments

Comments
 (0)