function shortcode_ldjam_game($atts) { ld_get_vars(); // Populate the $ldvar global // global $ldvar; ld_get_urlcache(); global $ld_urlcache; print_r($ld_urlcache); // No Base URL Here // return "Game Browser"; }
function ld_init_urlcache() { global $ld_urlcache_table_name; // NOTE: InnoDB has a VarChar limit of 768 chars, or UTF-8 255 // if (lddb_query("CREATE TABLE IF NOT EXISTS {$ld_urlcache_table_name} (\n\t\t\t\turl VARCHAR(255) NOT NULL UNIQUE,\n\t\t\t\tcontent_id BIGINT UNSIGNED NOT NULL\n\t\t\t) ENGINE=InnoDB;")) { ld_set_urlcache_table("/", 1); } ld_get_urlcache(); }