Differences From Artifact [62df28f460]:

To Artifact [f1e231c6ca]:


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php

namespace Garradin;

use Garradin\Web\Web;
use Garradin\Entities\Web\Page;

require_once __DIR__ . '/_inc.php';

if ($uri = qg('uri'))
{
	$page_uri = Utils::transformTitleToURI($uri);
	$page = Web::getByURI($page_uri);
}
else
{
	$page = Web::get((int) qg('id'));
}

if (!$page) {











<
|







1
2
3
4
5
6
7
8
9
10
11

12
13
14
15
16
17
18
19
<?php

namespace Garradin;

use Garradin\Web\Web;
use Garradin\Entities\Web\Page;

require_once __DIR__ . '/_inc.php';

if ($uri = qg('uri'))
{

	$page = Web::getByURI($uri);
}
else
{
	$page = Web::get((int) qg('id'));
}

if (!$page) {