123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- <?php
- if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); }
- require_once INSTALLDIR . '/lib/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;
- }
|