]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_session.php
New function isDirectory() introduced, fixed GET_DIR_AS_ARRAY() (replaces scandir())
[mailer.git] / inc / modules / admin / what-config_session.php
index af622f7ec167a553ea9b95578ce8d6edcce2c383..bdf4af075a687bfb112e7c87d88a87eac2a880e1 100644 (file)
@@ -11,9 +11,9 @@
  * Kurzbeschreibung  : Session-Einstellungen                            *
  * -------------------------------------------------------------------- *
  * $Revision:: 856                                                    $ *
- * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. March 2009)             $ *
+ * $Date::                                                            $ *
  * $Tag:: 0.2.1-FINAL                                                 $ *
- * $Author:: stelzi                                                   $ *
+ * $Author::                                                          $ *
  * Needs to be in all Files and every File needs "svn propset           *
  * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
@@ -47,7 +47,7 @@ ADD_DESCR("admin", __FILE__);
 
 if (IS_FORM_SENT()) {
        // Test Path
-       if ((!REQUEST_ISSET_POST(('session_save_path'))) || ((is_dir(REQUEST_POST('session_save_path'))) && (is_writeable(REQUEST_POST('session_save_path'))))) {
+       if ((!REQUEST_ISSET_POST(('session_save_path'))) || ((isDirectory(REQUEST_POST('session_save_path'))) && (is_writeable(REQUEST_POST('session_save_path'))))) {
                // Save configuration
                ADMIN_SAVE_SETTINGS_POST();
        } else {