tests solidity

This commit is contained in:
Arthur Schiwon 2015-06-30 14:09:11 +02:00
parent 646f2f1d41
commit 5f4db0540a
3 changed files with 24 additions and 0 deletions

14
apps/user_ldap/tests/.htaccess Executable file
View File

@ -0,0 +1,14 @@
# Generated by ownCloud on 2015-06-18 14:16:40
# line below if for Apache 2.4
<ifModule mod_authz_core.c>
Require all denied
</ifModule>
# line below if for Apache 2.2
<ifModule !mod_authz_core.c>
deny from all
Satisfy All
</ifModule>
# section for Apache 2.2 and 2.4
IndexIgnore *

View File

@ -1,5 +1,10 @@
<?php
if(php_sapi_name() !== 'cli') {
print('Only via CLI, please.');
exit(1);
}
include __DIR__ . '/config.php';
$cr = ldap_connect($host, $port);

View File

@ -1,5 +1,10 @@
<?php
if(php_sapi_name() !== 'cli') {
print('Only via CLI, please.');
exit(1);
}
include __DIR__ . '/config.php';
$cr = ldap_connect($host, $port);