mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Optional reporting of versions to SilverStripe (merged from 2.1.0 branch, r42422)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42920 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
bb2a97856f
commit
bd81e2a2be
@ -334,6 +334,11 @@ HTML;
|
||||
$fourohfour->publish("Stage", "Live");
|
||||
}
|
||||
|
||||
if(isset($_SESSION['StatsID']) && $_SESSION['StatsID']) {
|
||||
$url = 'http://ss2stat.silverstripe.com/Installation/installed?ID=' . $_SESSION['StatsID'];
|
||||
@file_get_contents($url);
|
||||
}
|
||||
|
||||
$title = new Varchar("Title");
|
||||
$content = new HTMLText("Content");
|
||||
$username = Session::get('username');
|
||||
|
Loading…
x
Reference in New Issue
Block a user