mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-06 17:41:01 +00:00
Rename wallabag_core to wallabag
This commit is contained in:
parent
0b44170e83
commit
74a98aaae2
29 changed files with 185 additions and 185 deletions
|
@ -30,9 +30,9 @@ abstract class BrowserController extends AbstractController
|
|||
$markAsRead = $form->get('mark_as_read')->getData();
|
||||
$name = $this->getUser()->getId() . '.json';
|
||||
|
||||
if (null !== $file && \in_array($file->getClientMimeType(), $this->getParameter('wallabag_core.allow_mimetypes'), true) && $file->move($this->getParameter('wallabag_core.resource_dir'), $name)) {
|
||||
if (null !== $file && \in_array($file->getClientMimeType(), $this->getParameter('wallabag.allow_mimetypes'), true) && $file->move($this->getParameter('wallabag.resource_dir'), $name)) {
|
||||
$res = $wallabag
|
||||
->setFilepath($this->getParameter('wallabag_core.resource_dir') . '/' . $name)
|
||||
->setFilepath($this->getParameter('wallabag.resource_dir') . '/' . $name)
|
||||
->setMarkAsRead($markAsRead)
|
||||
->import();
|
||||
|
||||
|
@ -51,7 +51,7 @@ abstract class BrowserController extends AbstractController
|
|||
]);
|
||||
}
|
||||
|
||||
unlink($this->getParameter('wallabag_core.resource_dir') . '/' . $name);
|
||||
unlink($this->getParameter('wallabag.resource_dir') . '/' . $name);
|
||||
}
|
||||
|
||||
$this->addFlash('notice', $message);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue