Overview
Comment:Fix skeleton exception
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | dev
Files: files | file ages | folders
SHA3-256: 9fa6a825697bdd0f8cbcc0dda47657dca5cb1ca5dd68024bf9c9c6337b812867
User & Date: bohwaz on 2021-03-31 17:45:06
Other Links: branch diff | manifest | tags
Context
2021-04-02
13:37
Redesign backup config, see [4c8748d0f2e17017cef5] check-in: c7988fbf4d user: bohwaz tags: dev
2021-03-31
17:45
Fix skeleton exception check-in: 9fa6a82569 user: bohwaz tags: dev
13:32
Update possible issues check-in: c1136e28a7 user: bohwaz tags: dev, 1.1.0-beta1
Changes

Modified src/include/lib/Garradin/Web/Web.php from [965b8ef77a] to [a2f7a3c8e7].

206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
		}
		elseif (($page = self::getByURI($uri)) && $page->status == Page::STATUS_ONLINE) {
			$skel = $page->template();
			$page = $page->asTemplateArray();
		}
		else {
			// Trying to see if a custom template with this name exists
			if (preg_match('!^[\w\d_.-]+$!i', $uri)) {
				$s = new Skeleton($uri);

				if ($s->exists()) {
					$s->serve();
					return;
				}
			}







|







206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
		}
		elseif (($page = self::getByURI($uri)) && $page->status == Page::STATUS_ONLINE) {
			$skel = $page->template();
			$page = $page->asTemplateArray();
		}
		else {
			// Trying to see if a custom template with this name exists
			if (preg_match('!^[\w\d_-]+(?:\.[\w\d_-]+)*$!i', $uri)) {
				$s = new Skeleton($uri);

				if ($s->exists()) {
					$s->serve();
					return;
				}
			}