Fix 'remote' AUTH_TYPE
Posted: Sun Jul 05, 2009 8:47 pm
Code: Select all
index.php was including skin.php after actions.php, so the latter
had no effect and authentication was broken
diff --git a/web/index.php b/web/index.php
index 0808a8f..b288c6d 100644
--- a/web/index.php
+++ b/web/index.php
@@ -101,11 +101,11 @@ if ( isset($_REQUEST['view']) )
if ( isset($_REQUEST['action']) )
$action = validHtmlStr($_REQUEST['action']);
-require_once( 'includes/actions.php' );
-
foreach ( getSkinIncludes( 'skin.php' ) as $includeFile )
require_once $includeFile;
+require_once( 'includes/actions.php' );
+
if ( isset( $_REQUEST['request'] ) )
{
$request = validHtmlStr($_REQUEST['request']);