diff options
| author | Justin J. Novack <jnovack@gmail.com> | 2012-09-16 01:17:46 -0400 |
|---|---|---|
| committer | Justin J. Novack <jnovack@gmail.com> | 2012-09-16 01:17:46 -0400 |
| commit | a73791f16d10ea0e2c477f29d9049d75516aa774 (patch) | |
| tree | c5cc7406b5710804600477a45d20fa21815c67a3 /www/edit.php | |
| parent | b0687c328fcaa4d891b31c2146694654cd4707c9 (diff) | |
| download | phorkie-a73791f16d10ea0e2c477f29d9049d75516aa774.tar.gz phorkie-a73791f16d10ea0e2c477f29d9049d75516aa774.zip | |
Added OpenID Authentication
Diffstat (limited to 'www/edit.php')
| -rw-r--r-- | www/edit.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/www/edit.php b/www/edit.php index 562c97c..226b774 100644 --- a/www/edit.php +++ b/www/edit.php @@ -4,6 +4,9 @@ namespace phorkie; * Edit paste contents */ require_once 'www-header.php'; +if ($GLOBALS['phorkie']['auth']['secure'] > 0) { + require_once 'secure.php'; +} $repo = new Repository(); $repo->loadFromRequest(); |
