WIP on document conversion
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
<?php
|
||||
|
||||
/** The current Feed Reader Central version */
|
||||
|
||||
use FeedReaderCentral\Data;
|
||||
|
||||
const FRC_VERSION = '1.0.0-alpha7';
|
||||
|
||||
/**
|
||||
@@ -19,14 +22,15 @@ function display_version(): string {
|
||||
return "v$major$minor$rev";
|
||||
}
|
||||
|
||||
spl_autoload_register(function ($class) {
|
||||
$file = implode(DIRECTORY_SEPARATOR, [__DIR__, 'lib', "$class.php"]);
|
||||
if (file_exists($file)) {
|
||||
require $file;
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
});
|
||||
require __DIR__ . '/vendor/autoload.php';
|
||||
//spl_autoload_register(function ($class) {
|
||||
// $file = implode(DIRECTORY_SEPARATOR, [__DIR__, 'lib', "$class.php"]);
|
||||
// if (file_exists($file)) {
|
||||
// require $file;
|
||||
// return true;
|
||||
// }
|
||||
// return false;
|
||||
//});
|
||||
|
||||
require 'user-config.php';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user