|
@@ -26,39 +26,12 @@ if (!file_exists($configFile)) {
|
26
|
26
|
require_once($configFile);
|
27
|
27
|
}
|
28
|
28
|
|
29
|
|
-$sqlStr = "INSERT INTO `".Table_prefix."options` VALUES ('shorten_links', '0');";
|
30
|
|
-
|
31
|
|
-$db->ejecutarConsulta($sqlStr);
|
32
|
|
-
|
33
|
|
-$sqlStr = "INSERT INTO `".Table_prefix."options` VALUES ('rss_import_frec', '5 minutes');";
|
34
|
|
-
|
35
|
|
-$db->ejecutarConsulta($sqlStr);
|
36
|
|
-
|
37
|
29
|
$sqlStr = "INSERT INTO `".Table_prefix."options` VALUES ('check_version', '1');";
|
38
|
30
|
|
39
|
31
|
$db->ejecutarConsulta($sqlStr);
|
40
|
32
|
|
41
|
|
-$sqlStr = "CREATE TABLE `".Table_prefix."feeds` (
|
42
|
|
- `id_feed` int(11) NOT NULL auto_increment,
|
43
|
|
- `url` varchar(255) NOT NULL,
|
44
|
|
- `title` varchar(255) NOT NULL,
|
45
|
|
- `type` tinyint(4) NOT NULL default '1',
|
46
|
|
- `updated_at` datetime NOT NULL,
|
47
|
|
- `error` tinyint(1) NOT NULL default '0',
|
48
|
|
- `credits` int(1) NOT NULL default '0',
|
49
|
|
- `site_url` varchar(255) NOT NULL,
|
50
|
|
- `id_user` int(10) NOT NULL,
|
51
|
|
- PRIMARY KEY (`id_feed`)
|
52
|
|
-) ENGINE=MyISAM ;";
|
53
|
|
-
|
54
|
|
-$db->ejecutarConsulta($sqlStr);
|
55
|
|
-
|
56
|
|
-if(!is_dir('upload/CACHE')){
|
57
|
|
- @mkdir('upload/CACHE');
|
58
|
|
- @chmod('upload/CACHE',777);
|
59
|
|
-}
|
60
|
|
-
|
61
|
33
|
echo "<p><em>Finished!</em></p>";
|
62
|
|
-echo "<p>Now you are running on the new <strong>gelato cioccolato</strong> version!!!</p>";
|
|
34
|
+echo "<p>Now you are running on the new <strong>gelato vaniglia</strong> version!!!</p>";
|
|
35
|
+echo "<p><a href="index.php">Return to your tumblelog</a></p>";
|
63
|
36
|
|
64
|
37
|
?>
|