Ver código fonte

Move configtest.php script to src/, because it will be called directly
by the browser. Unfortunately, CVS doesn't support moving files (unlike
Subversion).

Thijs Kinkhorst 21 anos atrás
pai
commit
ee9ef6704f
4 arquivos alterados com 5 adições e 3 exclusões
  1. 2 0
      ChangeLog
  2. 1 1
      INSTALL
  3. 1 1
      config/conf.pl
  4. 1 1
      src/configtest.php

+ 2 - 0
ChangeLog

@@ -16,6 +16,8 @@ Version 1.5.1 -- CVS
   - Fix that subfolders named "foo.inbox" didn't always work well.
   - Fix that subfolders named "foo.inbox" didn't always work well.
   - sqimap_create_stream() was not obeying passed params properly.  Fixed.
   - sqimap_create_stream() was not obeying passed params properly.  Fixed.
   - Fix non selectable inbox.
   - Fix non selectable inbox.
+  - Add src/configtest.php script which checks for common errors in the config.
+  
 
 
 Version 1.5.0
 Version 1.5.0
 --------------------
 --------------------

+ 1 - 1
INSTALL

@@ -180,7 +180,7 @@ c. Setting up SquirrelMail
   and edit that manually.
   and edit that manually.
 
 
   After you've created a configuration, you can use your webbrowser to
   After you've created a configuration, you can use your webbrowser to
-  browse to http://your-squirrelmail-location/config/configtest.php.
+  browse to http://your-squirrelmail-location/src/configtest.php.
   This will perform some basic checks on your config to make sure
   This will perform some basic checks on your config to make sure
   everything works like it should.
   everything works like it should.
 
 

+ 1 - 1
config/conf.pl

@@ -837,7 +837,7 @@ while ( ( $command ne "q" ) && ( $command ne "Q" ) ) {
 # we exit here
 # we exit here
 print "\nExiting conf.pl.\n".
 print "\nExiting conf.pl.\n".
 	"You might want to test your configuration by browsing to\n".
 	"You might want to test your configuration by browsing to\n".
-	"http://your-squirrelmail-location/config/configtest.php\n".
+	"http://your-squirrelmail-location/src/configtest.php\n".
 	"Happy SquirrelMailing!\n\n";
 	"Happy SquirrelMailing!\n\n";
 
 
 
 

+ 1 - 1
config/configtest.php → src/configtest.php

@@ -239,7 +239,7 @@ echo $IND . 'IMAP server OK (<tt><small>'.trim($imapline)."</small></tt>)<br />\
 
 
 <p>Congratulations, your SquirrelMail setup looks fine to me!</p>
 <p>Congratulations, your SquirrelMail setup looks fine to me!</p>
 
 
-<p><a href="<?php echo SM_PATH; ?>src/login.php">Login now</a></p>
+<p><a href="login.php">Login now</a></p>
 
 
 </body>
 </body>
 </html>
 </html>