projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
RefreshDatabaseCache.php
[Pman.Core]
/
RefreshDatabaseCache.php
diff --git
a/RefreshDatabaseCache.php
b/RefreshDatabaseCache.php
index
8797970
..
ea9c20e
100644
(file)
--- a/
RefreshDatabaseCache.php
+++ b/
RefreshDatabaseCache.php
@@
-15,8
+15,11
@@
class Pman_Core_RefreshDatabaseCache extends Pman
static $cli_desc = "Refresh the database schema cache";
var $cli = false;
- function getAuth() {
-
+ function getAuth()
+ {
+ if($_SERVER['HTTP_HOST'] == 'localhost'){
+ return true;
+ }
$ff = HTML_FlexyFramework::get();
if (!empty($ff->cli)) {