- User mail is not working
-- Userinfo is not working
- ()
-
- Uploading of datafiles is not working
- Registration process is not working
( ./inc/eventz/addPlugin.inc )
( ./inc/eventz/kyberia.inc ) (wtf)
-
- Refactor directory structure
- Deprecated PHP features
- Implement URL handling using PATH_INFO instead of mod_rewrite
+- some templates are fixed only in .tpl, not in sql database
+
- (IMHO we should use SHA1 or stronger algorithm instead of MD5 for storing passwords)
(We can use multiple hash algorithms (so we'll have backward DB compatibility):
{SHA256}0654209dbde29a5c17e4f04ab63a91d303d2e7c791c7b5777581a7fa6550054e
elseif (is_file(INCLUDE_DIR."eventz/$event.inc")) {
$event_id=nodes::getNodeIdByName($event,"event://$event");
$event_node=nodes::getNodeById($event_id,$_SESSION['user_id']);
- if ($event_node['node_system_access']=='public'
-|| ($event_node['node_creator']==$_SESSION['user_id'])
-|| $event_node['node_permission']=='op'
-|| $event_node['node_permission']=='execute'
-|| $event_node['node_permission']=='master' ) {
+ if (($event_node['node_system_access']=='public')
+ || ($event_node['node_creator']==$_SESSION['user_id'])
+ || ($event_node['node_permission']=='op')
+ || ($event_node['node_permission']=='execute')
+ || ($event_node['node_permission']=='master') ) {
include_once(INCLUDE_DIR."eventz/$event.inc");
$status=$event();
$_SESSION['eventz'][$event]=true;
// Function that check if given filename is "secure" (for uploading)
// Dont use for reading files, directory traversal is not checked
-public static function filename_secure(name){
+public static function filename_secure($name){
$suffix = array_pop(explode('.', basename($name)));
// This is unfornately blacklist
//header("Location: http://web.archive.org/web/20020925021139/http://kyberia.sk");
//echo "je to uz uplne v pici. vsetky data su stratene, prajem pekny den :)";
//exit;
-error_reporting(1);
-$_SESSION['debugging']=1;
-//exit;
//starting timer for benchmarking purposes
$timer_start=Time()+SubStr(MicroTime(),0,8);
//setting PHPSESSID cookie and starting user session
session_start();
+error_reporting(1);
+$_SESSION['debugging']=1;
+//exit;
+
if ($_SESSION['debugging']) {