Jump to content

$config->urls missing documentation?


neotoxic
 Share

Recommended Posts

You are right, I still need to add this to the documentation. I will make that the next item added, this week. Here is some code you can add to your template (temporarily) to make it show all the URLs available for access from $config->urls:

<?php
foreach($config->urls as $key => $value) {
        echo $key . ": " . $config->urls->$key . "<br />";
}
Link to comment
Share on other sites

I am sorry for not replying sooner, I have been out of the office and my iPad doesn't seem to like this forum much.

Thank you very much for adding the documentation Ryan, its very much appreciated. I have been spreading the word about ProcessWire to a number of UK business and there is a fair bit of interest. Great to see such a worth while project get more attention.

Thanks again,

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...