Skip to content

Commit

Permalink
add namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Mc Cormack committed Oct 26, 2017
1 parent 6c15cce commit a15953d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/Xframer.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
<?php

namespace CyberDuck\Xframer;

use SilverStripe\Control\Controller;
use SilverStripe\Core\Config\Config;

/**
* Silverstripe X-Framer
*
Expand Down Expand Up @@ -94,6 +100,6 @@ private static function setUserIP()
**/
private static function setExcludedIPs()
{
self::$excluded = Config::inst()->get('Xframer','ips');
self::$excluded = Config::inst()->get('CyberDuck\Xframer\Xframer','ips');
}
}

0 comments on commit a15953d

Please sign in to comment.