Skip to content

Commit 3318cc9

Browse files
committed
Seditio 173
0 parents  commit 3318cc9

File tree

1,418 files changed

+53664
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,418 files changed

+53664
-0
lines changed

.gitattributes

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto
3+
4+
# Custom for Visual Studio
5+
*.cs diff=csharp
6+
*.sln merge=union
7+
*.csproj merge=union
8+
*.vbproj merge=union
9+
*.fsproj merge=union
10+
*.dbproj merge=union
11+
12+
# Standard to msysgit
13+
*.doc diff=astextplain
14+
*.DOC diff=astextplain
15+
*.docx diff=astextplain
16+
*.DOCX diff=astextplain
17+
*.dot diff=astextplain
18+
*.DOT diff=astextplain
19+
*.pdf diff=astextplain
20+
*.PDF diff=astextplain
21+
*.rtf diff=astextplain
22+
*.RTF diff=astextplain

.gitignore

+215
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,215 @@
1+
#################
2+
## Eclipse
3+
#################
4+
5+
*.pydevproject
6+
.project
7+
.metadata
8+
bin/
9+
tmp/
10+
*.tmp
11+
*.bak
12+
*.swp
13+
*~.nib
14+
local.properties
15+
.classpath
16+
.settings/
17+
.loadpath
18+
19+
# External tool builders
20+
.externalToolBuilders/
21+
22+
# Locally stored "Eclipse launch configurations"
23+
*.launch
24+
25+
# CDT-specific
26+
.cproject
27+
28+
# PDT-specific
29+
.buildpath
30+
31+
32+
#################
33+
## Visual Studio
34+
#################
35+
36+
## Ignore Visual Studio temporary files, build results, and
37+
## files generated by popular Visual Studio add-ons.
38+
39+
# User-specific files
40+
*.suo
41+
*.user
42+
*.sln.docstates
43+
44+
# Build results
45+
46+
[Dd]ebug/
47+
[Rr]elease/
48+
x64/
49+
build/
50+
[Bb]in/
51+
[Oo]bj/
52+
53+
# MSTest test Results
54+
[Tt]est[Rr]esult*/
55+
[Bb]uild[Ll]og.*
56+
57+
*_i.c
58+
*_p.c
59+
*.ilk
60+
*.meta
61+
*.obj
62+
*.pch
63+
*.pdb
64+
*.pgc
65+
*.pgd
66+
*.rsp
67+
*.sbr
68+
*.tlb
69+
*.tli
70+
*.tlh
71+
*.tmp
72+
*.tmp_proj
73+
*.log
74+
*.vspscc
75+
*.vssscc
76+
.builds
77+
*.pidb
78+
*.log
79+
*.scc
80+
81+
# Visual C++ cache files
82+
ipch/
83+
*.aps
84+
*.ncb
85+
*.opensdf
86+
*.sdf
87+
*.cachefile
88+
89+
# Visual Studio profiler
90+
*.psess
91+
*.vsp
92+
*.vspx
93+
94+
# Guidance Automation Toolkit
95+
*.gpState
96+
97+
# ReSharper is a .NET coding add-in
98+
_ReSharper*/
99+
*.[Rr]e[Ss]harper
100+
101+
# TeamCity is a build add-in
102+
_TeamCity*
103+
104+
# DotCover is a Code Coverage Tool
105+
*.dotCover
106+
107+
# NCrunch
108+
*.ncrunch*
109+
.*crunch*.local.xml
110+
111+
# Installshield output folder
112+
[Ee]xpress/
113+
114+
# DocProject is a documentation generator add-in
115+
DocProject/buildhelp/
116+
DocProject/Help/*.HxT
117+
DocProject/Help/*.HxC
118+
DocProject/Help/*.hhc
119+
DocProject/Help/*.hhk
120+
DocProject/Help/*.hhp
121+
DocProject/Help/Html2
122+
DocProject/Help/html
123+
124+
# Click-Once directory
125+
publish/
126+
127+
# Publish Web Output
128+
*.Publish.xml
129+
*.pubxml
130+
131+
# NuGet Packages Directory
132+
## TODO: If you have NuGet Package Restore enabled, uncomment the next line
133+
#packages/
134+
135+
# Windows Azure Build Output
136+
csx
137+
*.build.csdef
138+
139+
# Windows Store app package directory
140+
AppPackages/
141+
142+
# Others
143+
sql/
144+
*.Cache
145+
ClientBin/
146+
[Ss]tyle[Cc]op.*
147+
~$*
148+
*~
149+
*.dbmdl
150+
*.[Pp]ublish.xml
151+
*.pfx
152+
*.publishsettings
153+
154+
# RIA/Silverlight projects
155+
Generated_Code/
156+
157+
# Backup & report files from converting an old project file to a newer
158+
# Visual Studio version. Backup files are not needed, because we have git ;-)
159+
_UpgradeReport_Files/
160+
Backup*/
161+
UpgradeLog*.XML
162+
UpgradeLog*.htm
163+
164+
# SQL Server files
165+
App_Data/*.mdf
166+
App_Data/*.ldf
167+
168+
#############
169+
## Windows detritus
170+
#############
171+
172+
# Windows image file caches
173+
Thumbs.db
174+
ehthumbs.db
175+
176+
# Folder config file
177+
Desktop.ini
178+
179+
# Recycle Bin used on file shares
180+
$RECYCLE.BIN/
181+
182+
# Mac crap
183+
.DS_Store
184+
185+
186+
#############
187+
## Python
188+
#############
189+
190+
*.py[co]
191+
192+
# Packages
193+
*.egg
194+
*.egg-info
195+
dist/
196+
build/
197+
eggs/
198+
parts/
199+
var/
200+
sdist/
201+
develop-eggs/
202+
.installed.cfg
203+
204+
# Installer logs
205+
pip-log.txt
206+
207+
# Unit test / coverage reports
208+
.coverage
209+
.tox
210+
211+
#Translations
212+
*.mo
213+
214+
#Mr Developer
215+
.mr.developer.cfg

admin.php

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<?PHP
2+
3+
/* ====================
4+
Seditio - Website engine
5+
Copyright Neocrome & Seditio Team
6+
http://www.neocrome.net
7+
http://www.seditio.org
8+
[BEGIN_SED]
9+
File=admin.php
10+
Version=173
11+
Updated=2012-sep-23
12+
Type=Core
13+
Author=Neocrome
14+
Description=Administration panel loader
15+
[END_SED]
16+
==================== */
17+
18+
define('SED_CODE', TRUE);
19+
define('SED_ADMIN', TRUE);
20+
$location = 'Administration';
21+
$z = 'admin';
22+
23+
require('system/functions.php');
24+
require('system/functions.admin.php');
25+
require('datas/config.php');
26+
require('system/common.php');
27+
require("system/lang/".$usr['lang']."/admin.lang.php");
28+
require("system/core/admin/admin.inc.php");
29+
30+
?>

datas/avatars/index.php

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?PHP
2+
3+
/* ====================
4+
Seditio - Website engine
5+
Copyright Neocrome & Seditio Team
6+
http://www.neocrome.net
7+
http://www.seditio.org
8+
[BEGIN_SED]
9+
File=datas/avatars/index.php
10+
Version=173
11+
Updated=2012-sep-23
12+
Type=Core
13+
Author=Neocrome
14+
Description=Directory blocker
15+
[END_SED]
16+
==================== */
17+
18+
/* ==== Directory blocker ==== */
19+
20+
?>

datas/config.default.php

+90
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
<?PHP
2+
3+
/* ====================
4+
Seditio - Website engine
5+
Copyright Neocrome & Seditio Team
6+
http://www.neocrome.net
7+
http://www.seditio.org
8+
[BEGIN_SED]
9+
File=datas/config.php
10+
Version=173
11+
Updated=2012-sep-23
12+
Type=Config
13+
Author=Neocrome
14+
Description=Configuration
15+
[END_SED]
16+
==================== */
17+
18+
// ========================
19+
// MySQL database parameters. Change to fit your host.
20+
// ========================
21+
22+
$cfg['mysqlhost'] = 'localhost'; // Database host URL
23+
$cfg['mysqluser'] = 'root'; // Database user
24+
$cfg['mysqlpassword'] = ''; // Database password
25+
$cfg['mysqldb'] = 'seditio'; // Database name
26+
27+
// ========================
28+
// Default skin and default language
29+
// ========================
30+
31+
$cfg['defaultskin'] = 'artic'; // Default skin code. Be SURE it's pointing to a valid folder in /skins/... !!
32+
$cfg['defaultlang'] = 'en'; // Default language code
33+
34+
// ========================
35+
// More settings
36+
// Should work fine in most of cases.
37+
// If you don't know, don't change.
38+
// TRUE = enabled / FALSE = disabled
39+
// ========================
40+
41+
$cfg['sqldbprefix'] = 'sed_'; // Database tables prefix
42+
$cfg['sqldb'] = 'mysql'; // Type of the database engine.
43+
$cfg['site_secret'] = ''; // Site secret key
44+
$cfg['authmode'] = 3; // (1:cookies, 2:sessions, 3:cookies+sessions) default=3
45+
$cfg['redirmode'] = FALSE; // 0 or 1, Set to '1' if you cannot sucessfully log in (IIS servers)
46+
$cfg['ipcheck'] = TRUE; // Will kill the logged-in session if the IP has changed
47+
$cfg['textmode'] = 'html'; // 'bbcode' for BBcode content, or 'html' (default)
48+
49+
// ========================
50+
// Name of MySQL tables
51+
// (OPTIONAL, if missing, Seditio will set default values)
52+
// Change the $cfg['sqldbprefix'] above if you'd like to
53+
// make 2 separated install in the same database.
54+
// or you'd like to share some tables between 2 sites.
55+
// Else do not change.
56+
// ========================
57+
58+
$db_auth = $cfg['sqldbprefix'].'auth';
59+
$db_banlist = $cfg['sqldbprefix'].'banlist';
60+
$db_cache = $cfg['sqldbprefix'].'cache';
61+
$db_com = $cfg['sqldbprefix'].'com';
62+
$db_core = $cfg['sqldbprefix'].'core';
63+
$db_config = $cfg['sqldbprefix'].'config';
64+
$db_forum_posts = $cfg['sqldbprefix'].'forum_posts';
65+
$db_forum_sections = $cfg['sqldbprefix'].'forum_sections';
66+
$db_forum_structure = $cfg['sqldbprefix'].'forum_structure';
67+
$db_forum_topics = $cfg['sqldbprefix'].'forum_topics';
68+
$db_groups = $cfg['sqldbprefix'].'groups';
69+
$db_groups_users = $cfg['sqldbprefix'].'groups_users';
70+
$db_logger = $cfg['sqldbprefix'].'logger';
71+
$db_online = $cfg['sqldbprefix'].'online';
72+
$db_pages = $cfg['sqldbprefix'].'pages';
73+
$db_parser = $cfg['sqldbprefix'].'parser';
74+
$db_pfs = $cfg['sqldbprefix'].'pfs';
75+
$db_pfs_folders = $cfg['sqldbprefix'].'pfs_folders';
76+
$db_plugins = $cfg['sqldbprefix'].'plugins';
77+
$db_pm = $cfg['sqldbprefix'].'pm';
78+
$db_polls = $cfg['sqldbprefix'].'polls';
79+
$db_polls_options = $cfg['sqldbprefix'].'polls_options';
80+
$db_polls_voters = $cfg['sqldbprefix'].'polls_voters';
81+
$db_rated = $cfg['sqldbprefix'].'rated';
82+
$db_ratings = $cfg['sqldbprefix'].'ratings';
83+
$db_referers = $cfg['sqldbprefix'].'referers';
84+
$db_smilies = $cfg['sqldbprefix'].'smilies';
85+
$db_stats = $cfg['sqldbprefix'].'stats';
86+
$db_structure = $cfg['sqldbprefix'].'structure';
87+
$db_trash = $cfg['sqldbprefix'].'trash';
88+
$db_users = $cfg['sqldbprefix'].'users';
89+
90+
?>

0 commit comments

Comments
 (0)