| The Arcive of vBulletin Modifications Site. | |
| 
			 
			#1  
			
			
			
			
			
		 | ||||
| 
 | ||||
|  How do I run a php script from /root instead of forum/root without errors? 
			
			Example I moved this random hack to the website root instead of the domain root and get this error: Quote: 
 Quote: 
 Quote: 
 Quote: 
 Thanks ! | 
| 
			 
			#2  
			
			
			
			
			
		 | |||
| 
 | |||
|   
			
			Well i don't really understand why you want your hacks to be placed outside the forum root, that is asking for problems. One way f solving this could be by changing directory to the forum root, just before you call any vB scripts. | 
| 
			 
			#3  
			
			
			
			
			
		 | |||
| 
 | |||
|   
			
			They are hacks that use the forum database but are shown on seperate page. Only reason I want to move them is because they are links on main page of website where everything is www.domain.com/script.php except 2 of them and looks nicer if all of them are in same directory. | 
| 
			 
			#4  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   Quote: 
 chdir('./forums'); | 
| 
			 
			#5  
			
			
			
			
			
		 | |||
| 
 | |||
|   
			
			.... thats simple hahaha Thanks Zachery ! | 
|  | 
| 
 | 
 | 
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
| 
 | |
|  More Information | |
| Template Usage: 
 Phrase Groups Available: 
 | Included Files: 
 Hooks Called: 
 |