Skip to content
This repository was archived by the owner on Jan 29, 2023. It is now read-only.
This repository was archived by the owner on Jan 29, 2023. It is now read-only.

Copyright year in Lang files #1

@modxuser

Description

@modxuser

Just going through the new Ditto and found the copyright year in the language file is set to 2006

I forgot that I had changed this file in the past, so I thought I would pass the changes on.

Whether this is the best solution or not is beyond my PHP knowledge, hopefully it's OK :)

File: ditto/lang/english.inc.php

I changed this

$_lang['default_copyright'] = "[(site_name)] 2006";

To this:

$_lang['default_copyright'] = "[(site_name)] ".date('Y',time());

This way it always gives the correct year

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions