first commit

This commit is contained in:
Your Name
2021-04-20 11:13:47 +05:30
parent b76859a3f1
commit 0a18b88eba
408 changed files with 47723 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
<?php
// +----------------------------------------------------------------------+
// | OpenConf |
// +----------------------------------------------------------------------+
// | Copyright (c) 2002-2020 Zakon Group LLC. All Rights Reserved. |
// +----------------------------------------------------------------------+
// | This source file is subject to the OpenConf License, available on |
// | the OpenConf web site: www.OpenConf.com |
// +----------------------------------------------------------------------+
require_once "../include.php";
beginChairSession();
if (isset($_GET['m']) && oc_moduleValid($_GET['m']) && is_file($_GET['m'] . '/README.html') && ($readme = file_get_contents($_GET['m'] . '/README.html'))) {
if (preg_match("/^(.*)?\s*<hr/s", $readme, $matches)) {
print $matches[1] . '
</body>
</html>';
} else {
print $readme;
}
} else {
print 'Unable to access module information';
}
?>