123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <?php
- defined('GNUSOCIAL') || die();
- date_default_timezone_set('UTC');
- mb_internal_encoding('UTF-8');
- require_once INSTALLDIR . '/lib/util/framework.php';
- try {
- GNUsocial::init(@$server, @$path, @$conffile);
- } catch (NoConfigException $e) {
-
-
-
- echo '<p>'. _('No configuration file found.') .'</p>';
-
-
- echo '<p>'. _('I looked for configuration files in the following places:') .'<br /> ';
- echo implode($e->configFiles, '<br />');
-
- echo '<p>'. _('You may wish to run the installer to fix this.') .'</p>';
-
-
-
- echo '<a href="install.php">'. _('Go to the installer.') .'</a>';
- exit;
- }
|