Skip to content
This repository has been archived by the owner on Oct 16, 2018. It is now read-only.

Commit

Permalink
Normalize line endings
Browse files Browse the repository at this point in the history
  • Loading branch information
dwk2 committed Feb 14, 2013
1 parent f0c0c5d commit 13eb423
Show file tree
Hide file tree
Showing 21 changed files with 1,481 additions and 1,459 deletions.
22 changes: 22 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Auto detect text files and perform LF normalization
* text=auto

# Custom for Visual Studio
*.cs diff=csharp
*.sln merge=union
*.csproj merge=union
*.vbproj merge=union
*.fsproj merge=union
*.dbproj merge=union

# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
10 changes: 5 additions & 5 deletions auth.cfg.php.sample
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
require_once('classes/auth_base.class.php');
$AUTH = new Auth_Base();
<?php

require_once('classes/auth_base.class.php');

$AUTH = new Auth_Base();
36 changes: 18 additions & 18 deletions classes/auth_LDAP.class.php
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
<?php
require_once dirname(__FILE__) . '/auth_base.class.php';

class Auth_LDAP extends Auth_Base
{
public function authenticate($user,$pass) {
//echo "authenticating...\n";
//echo 'user='.$user."\n";
//echo 'pass='.$pass."\n";
if (parent::authenticate($user,$pass)) {
return true;
}


return false;
}
}

<?php
require_once dirname(__FILE__) . '/auth_base.class.php';

class Auth_LDAP extends Auth_Base
{
public function authenticate($user,$pass) {
//echo "authenticating...\n";
//echo 'user='.$user."\n";
//echo 'pass='.$pass."\n";
if (parent::authenticate($user,$pass)) {
return true;
}


return false;
}
}

?>
Loading

0 comments on commit 13eb423

Please sign in to comment.