goto.sql 343 B

1234567891011
  1. SET hash = CASE $hash = ''
  2. WHEN TRUE THEN NULL
  3. ELSE $hash
  4. END;
  5. SET redirect = COALESCE($go, '') = 'true' AND $hash IS NOT NULL;
  6. SELECT 'dynamic' AS component, sqlpage.run_sql('goto/redirect.sql') AS properties
  7. WHERE $redirect
  8. ;
  9. SET inner = 'goto/Index.sql';
  10. SELECT 'dynamic' AS component, sqlpage.run_sql('goto/entry.sql') AS properties;