projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Arrange templates by module
[platal.git]
/
htdocs
/
xnet.php
diff --git
a/htdocs/xnet.php
b/htdocs/xnet.php
index
53ecd71
..
6cf1f7c
100644
(file)
--- a/
htdocs/xnet.php
+++ b/
htdocs/xnet.php
@@
-21,14
+21,10
@@
$GLOBALS['IS_XNET_SITE'] = true;
$GLOBALS['IS_XNET_SITE'] = true;
-require_once dirname(__FILE__).'/../classes/Xnet.php';
-require_once dirname(__FILE__).'/../classes/PLModule.php';
-require_once dirname(__FILE__).'/../classes/CoreLogger.php';
-
-require 'xnet.inc.php';
+require_once dirname(__FILE__).'/../include/xnet.inc.php';
if (!($path = Env::v('n')) || substr($path, 0, 4) != 'Xnet') {
if (!($path = Env::v('n')) || substr($path, 0, 4) != 'Xnet') {
- $platal = new Xnet('xnet', 'xnetgrp', 'xnetlists', 'xnetevents', 'geoloc');
+ $platal = new Xnet('xnet', 'xnetgrp', 'xnetlists', 'xnetevents', 'geoloc'
, 'payment'
);
$platal->run();
exit;
$platal->run();
exit;
@@
-43,7
+39,7
@@
if (!$n) {
pl_redirect('');
}
pl_redirect('');
}
-new_skinned_page('wiki.tpl');
+new_skinned_page('
core/
wiki.tpl');
$perms = wiki_get_perms($n);
switch (Env::v('action')) {
$perms = wiki_get_perms($n);
switch (Env::v('action')) {