diff options
author | Bart Visscher <bartv@thisnet.nl> | 2011-10-01 01:10:08 +0400 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2011-10-01 01:17:30 +0400 |
commit | 9a5d517ec2d90698c98cf57cd5a12b4d1a40f53f (patch) | |
tree | 6769a9c99d3ed09daa5453830a3a7cefa824433e /tests | |
parent | f4782a76907cf010faf9f4cd7deb3a67a2d02de9 (diff) |
Add more checks for admin user
Diffstat (limited to 'tests')
-rw-r--r-- | tests/index.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/index.php b/tests/index.php index efa730f6f8f..08e53f1a575 100644 --- a/tests/index.php +++ b/tests/index.php @@ -26,6 +26,7 @@ */ $RUNTIME_NOSETUPFS=true; require_once('../lib/base.php'); +OC_Util::checkAdminUser(); $testCases=loadFiles(__DIR__,array('index.php','templates')); ob_end_clean(); @@ -74,4 +75,4 @@ function loadFiles($path,$exclude=false){ } return $results; } -?>
\ No newline at end of file +?> |