Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
New folder structure
  • Loading branch information
tijsverkoyen committed Jul 3, 2012
1 parent eda09c9 commit 0920d9b
Show file tree
Hide file tree
Showing 60 changed files with 21 additions and 1 deletion.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
20 changes: 20 additions & 0 deletions default_data.sql
@@ -0,0 +1,20 @@
CREATE TABLE IF NOT EXISTS `users` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
`password` varchar(255) NOT NULL,
`email` varchar(255) NOT NULL,
`secret` text NOT NULL,
`type` enum('user','admin') NOT NULL,
`data` text NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ;

INSERT INTO `users` (`id`, `name`, `password`, `email`, `secret`, `type`, `data`) VALUES
(1, 'Sumocoders', '57bf7fd2449834188ee1497644294a27c93f0faa', 'accounts@sumocoders.be', 'b6b8968b9ffc307e727fe3a437d967db', 'admin', 'a:1:{s:8:"settings";a:0:{}}');

CREATE TABLE IF NOT EXISTS `users_sessions` (
`session_id` varchar(255) NOT NULL,
`user_id` int(11) NOT NULL,
`edited_on` datetime NOT NULL,
PRIMARY KEY (`session_id`,`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
2 changes: 1 addition & 1 deletion default_www/init.php → init.php
Expand Up @@ -23,7 +23,7 @@ public function __construct()
if(ini_get('date.timezone') == '') date_default_timezone_set('Europe/Brussels');

// require globals
require_once '../library/globals.php';
require_once './library/globals.php';

// define constants
define('CACHE_PATH', PATH_WWW . '/cache');
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 0920d9b

Please sign in to comment.