Browse Source

change driver to SQLite

pull/8/head
d47081 2 years ago
parent
commit
e4782a642a
  1. 4
      crontab/sitemap.php

4
crontab/sitemap.php

@ -1,9 +1,9 @@
<?php <?php
require_once(dirname(__FILE__) . '/../config.php'); require_once(dirname(__FILE__) . '/../config.php');
require_once(dirname(__FILE__) . '/../library/mysql.php'); require_once(dirname(__FILE__) . '/../library/sqlite.php');
$db = new MySQL(); $db = new SQLite(DB_NAME, DB_USERNAME, DB_PASSWORD);
// Generate url sets // Generate url sets
$transaction = '<?xml version="1.0" encoding="UTF-8"?>'; $transaction = '<?xml version="1.0" encoding="UTF-8"?>';

Loading…
Cancel
Save