Jump to content
Doug G

Which site profile is installed?

Recommended Posts

I set up some local development processwire sites some time ago, moved on to some other stuff.  Now many months later I'm revisiting some of those old sites but I don't remember how I installed them.

Does the processwire installer save somewhere the site profile used during installation (and the date, and the pw version)?  I looked over the log files from some of those sites and didn't see any such information.

 

Share this post


Link to post
Share on other sites
Posted (edited)

Hello,

In /site/config.php look for:

/**
* Installer: Unix timestamp of date/time installed
*
* This is used to detect which when certain behaviors must be backwards compatible.
* Please leave this value as-is.
*
*/

$config->installed = INSTALLED_TIME_TIMESTAMP_SHOULD_BE_HERE

You can find converters online eg.: https://www.epochconverter.com/

As for the core version of ProcessWire, you can find it at the beginning of this file: /wire/core/ProcessWire.php

Edited by szabesz
EDIT: removed misleading part of the path above
  • Like 2

Share this post


Link to post
Share on other sites

Thanks, I'll check for the timestamp in config.php.  I'm still wondering what site profile I used to install a couple of these old testing sites though.

Share this post


Link to post
Share on other sites

Thanks for the tips, they help on a couple old sites, but some (circa v2.5 or so) don't seem to have the install timestamp in config.php, and also most don't seem to have a site/templates/README file.

This isn't a big problem, I am in the process of trying to update some wiki information I keep about site setup and configuration, and discovered I hadn't recorded any information about these older play-around sites from quite a while ago.

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...