path-refactoring + getter & setter
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
if (!isset($abs_path)) {
|
||||
require_once "../../path.php";
|
||||
}
|
||||
/*
|
||||
require_once '/php/model/LocalArticleManager.php';
|
||||
|
||||
require_once $abs_path . '/php/model/LocalArticleManager.php';
|
||||
|
||||
try {
|
||||
$articleManager = ArticleManager::getInstance();
|
||||
@@ -30,5 +30,5 @@ if ($_SERVER["REQUEST_METHOD"] === "POST") {
|
||||
header("location: index.php");
|
||||
exit();
|
||||
}
|
||||
*/
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user