Commit fcf0ad8e authored by Goutte's avatar Goutte

Comment old things.

parent 78ba0704
...@@ -112,17 +112,17 @@ class M3P2Plugin extends Plugin ...@@ -112,17 +112,17 @@ class M3P2Plugin extends Plugin
); );
} }
public function setupQueryPage() // public function setupQueryPage()
{ // {
$that_page_route = $this->grav['uri']->query('page'); // $that_page_route = $this->grav['uri']->query('page');
// die($that_page_route); //// die($that_page_route);
var_dump($that_page_route); // var_dump($that_page_route);
$that_page = $this->grav['pages']->find($that_page_route); // $that_page = $this->grav['pages']->find($that_page_route);
var_dump($that_page); // var_dump($that_page);
$this->grav['twig']->twig()->addGlobal( // $this->grav['twig']->twig()->addGlobal(
'that_page', $that_page // 'that_page', $that_page
); // );
} // }
public function getWebIdeUrlForPage(Page $page) public function getWebIdeUrlForPage(Page $page)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment