verkeerde redirect na inloggen

Overzicht Reageren

Sponsored by: Vacatures door Monsterboard

Senior, Medior and Junior SAP HANA Developer

Vacature details Vakgebied: Software/IT Opleiding: Medior Werklocatie: Veldhoven Vacature ID: 12696 Introductie Our client is the world's leading provider of lithography systems for the semiconductor industry, manufacturing complex machines that are critical to the production of integrated circuits or chips. Our purpose is “unlocking the potential of people and society by pushing technology to new limits”. We do this guided by the principles “Challenge”, “Collaborate” and “Care”. Wat verwachten we van jou? SAP Certified Application Associate - SAP HANA Cloud Modeling (training and/or certification) Bachelor degree or higher Excellent understanding of SAP HANA (2.0 / Cloud), Data Modelling and writing

Bekijk vacature »

Mit

mit

17/03/2008 11:54:00
Quote Anchor link
hi jongens

ik zit met een probleem.

Ik heb joovili geinstalleerd(een soort community site script)

alles ging goed maar nu 2 weken later log ik in wordt ik geredirect naar mysite/index.direct.php


ik ben erachter gekomen dat deze in include/joovili.settings.php staat.
Hier is de code:


Code (php)
PHP script in nieuw venster Selecteer het PHP script
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?php
 
 include_once("joovili.main.php");
 
 $joovili_settings = sql_row("SELECT * FROM joovili_settings WHERE joovili_id = '1'");
 
 ## JOOVILI LANGUAGE
 
 if (preg_match('/'.$joovili_settings['joovili_url_admin'].'i', $_SERVER['PHP_SELF'])) { $lext = '../';
 
 }
else if (preg_match('/'.$joovili_settings['joovili_url_staff'].'i', $_SERVER['PHP_SELF'])) { $lext = '../';
 
 }
else if (preg_match('/forums/'.'i', $_SERVER['PHP_SELF'])) { $lext = '../';
 
 }
else { $lext = '';
 
 }

 
 ## SITE VARIABLES
 
 define('SITENAME', $joovili_settings['joovili_name'], true);
 define('SITEEMAIL', $joovili_settings['joovili_email'], true);
 define('SITEURL', $joovili_settings['joovili_url'], true);
 define('SITETHEME', $joovili_settings['joovili_theme'], true);
 define('SITELANG', $joovili_settings['joovili_language'], true);
 define('BRANDING', 'Powered By Joovili ' . $joovili_settings['joovili_version'], true);
 
 include ($lext."language/".SITELANG."/joovili_language.php");
 include ("joovili.pages.php");
 
 
 ## SITE ACTIVE
 
 if ($joovili_settings['joovili_status'] == '0') {
 
 if (preg_match('/admin/i', $_SERVER['PHP_SELF'])) {
 
 }
else if (preg_match('/index.direct.php/i', $_SERVER['PHP_SELF'])) {
 
 }
else if (preg_match('/forums/i', $_SERVER['PHP_SELF'])) { header ('Location: ../index.direct.php');
 
 }
else { header ('Location: index.direct.php');
 
 } }

 
 ?>



Wat kan ik doen om gewoon normaal geredirect te worden..

ik begrijp er niks meer van.
Ik hoop dat iemand mij kan helpen
bedankt
 
PHP hulp

PHP hulp

29/04/2024 15:01:40
 
Jelle Posthuma

Jelle Posthuma

17/03/2008 13:12:00
Quote Anchor link
Regel 42 wijzigen?
 
Mit

mit

17/03/2008 14:45:00
Quote Anchor link
ja dat begrijp ik maar in wat??

want hij redirect echt alles..niet alleen de login
laat me maar weten jelle
 
Jelle Posthuma

Jelle Posthuma

17/03/2008 14:53:00
Quote Anchor link
Waar wil je dat ie je heen redirect dan?
 
Mit

mit

17/03/2008 14:59:00
Quote Anchor link
ik heb login geprobeerd maar dan zie je rechtsonder dat deze ook echt naar login.php gaat maar de laadbar loopt vast..DAt geldt ook voor de search.php

ik heb alleen lijn 42 verandert.

Wat betekent alles na SITE ACTIVE
 



Overzicht Reageren

 
 

Om de gebruiksvriendelijkheid van onze website en diensten te optimaliseren maken wij gebruik van cookies. Deze cookies gebruiken wij voor functionaliteiten, analytische gegevens en marketing doeleinden. U vindt meer informatie in onze privacy statement.