AkiraMultiTiki - empty page
Hi,
I'm trying to use AkiraMultiTiki and when it comes to change local.php file, then my site is disappearing and there is only an empty page.
Copy to clipboard
$db_tiki='mysql'; $dbversion_tiki='1.9'; $host_tiki='localhost'; $user_tiki='root'; $pass_tiki='pass'; switch ( extractTopPath( $SCRIPT_URL ) ) { case '/test1/': $dbs_tiki = 'test1'; $tikidomain = 'test1'; break; case '/test2/': $dbs_tiki = 'test2'; $tikidomain = 'test2'; break; default: exit(); } function extractTopPath( $in ) { if ( ( $point = strpos( substr( $in, 1 ), "/" ) ) === false ) return ( $in . "/" ); return substr( $in, 0, $point + 2 ); }
Any ideas what's wrong? I've set databases, Alias and so on properly. (I think so:))