Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Views][Twig] config["siteURL"] return null or blank #7

Closed
jcheron opened this issue Feb 25, 2019 · 1 comment
Closed

[Views][Twig] config["siteURL"] return null or blank #7

jcheron opened this issue Feb 25, 2019 · 1 comment
Assignees
Labels

Comments

@jcheron
Copy link
Contributor

jcheron commented Feb 25, 2019

Steps

Configuration in app/config/config.php:

<?php
return array(
	"siteUrl"=>"http://127.0.0.1/mySite/",
...

Expected Result

In client-side HTML source code, base href should contain siteUrl value

<!DOCTYPE html>
<html>
<head>
	<base href="http://127.0.0.1/mySite/">
	<meta charset="UTF-8">

Actual Result

base href is blank

<!DOCTYPE html>
<html>
<head>
	<base href="">
	<meta charset="UTF-8">

Versions

  • Ubiquity framework >2.0.4
  • php >7.0
@jcheron jcheron added the bug label Feb 25, 2019
@jcheron jcheron self-assigned this Feb 25, 2019
@jcheron
Copy link
Contributor Author

jcheron commented Feb 25, 2019

Fixed in c3e0c43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant