Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post Change Template Cache Path 
 
HI i am again
How can i change the path for all the cached template files. All the other files are safed sucessfull in the other folder but the templatefiles not. I changed from 'cache' to the new path in the files "xs_include.php, constants.php, rss_config.php

My changes:

Quote:
xs_include.php  -  34.641 Bytes  -  Mi, 20.08.08 um 10:07  -  htdocsicyAdm
4.662    define('XS_TEMP_DIR', '../user_files/' .$domain. '/cache/');

 constants.php  -  18.742 Bytes  -  Mo, 18.08.08 um 10:20  -  htdocsicyIncludes
2.813    define('POSTED_IMAGES_PATH', 'user_files/' .$domain. '/posted_images/');
2.894    define('POSTED_IMAGES_THUMBS_PATH', 'user_files/' .$domain. '/thumbs/');
2.960    define('MAIN_CACHE_FOLDER', 'user_files/' .$domain. '/cache/');
3.228    define('ALBUM_FILES_PATH', 'user_files/' .$domain. '/files/album/');

 rss_config.php  -  1.675 Bytes  -  Mo, 18.08.08 um 10:12  - htdocsicyIncludes
1.583    $cache_root = 'user_files/' .$domain. '/cache';       // Cache dir


Now the files with sql_ and the userfiles saved in the new cache folder :). But if i compile a template the files saved in old cache folder "cache/" and not the "new" cache folder. I think i forgot to edit an file can you tell me the file in wich the template cachepath is defined?
Sry for my "special" problems  
 



 
Sascha833Send private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Change Template Cache Path 
 
I thought there was a configuration at the ACP >> Styles managemet regardering that.
 



 
novice programmerSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Change Template Cache Path 
 
Silly question I know, But why do you want to change the cache path in the first place ?  
 
 
 
Back to topPage bottom
Reply with quote Download Post 
Post Re: Change Template Cache Path 
 
novice programmer wrote: [View Post]
I thought there was a configuration at the ACP >> Styles managemet regardering that.

Hmm i found nthing to change the path i think its in a xs_ file but i cant find it:(

Lopalong wrote: [View Post]
Silly question I know, But why do you want to change the cache path in the first place ?  


I scripted an ip hosting script. And the script works with only one ip core and can host unlimited icy poenix portals. So if a user signes up only the database entrys where created with the portalname as prefix and gets an subdomain and the subdomain is the tableprefix ;). So i have to split the caches in seperate folders for the portals because i think if i dont do that i will get problems. The normal cache is splited and all the sql_ and u_ php files saved in the portal cache folder. But these cache files from the extrem style mod still saved in the default cache folder and i need to safe them in the "portal folder"
for example the cache path is cache/ i replace it with user_files/' .$domain. '/cache/'   and $domain is the name of the portal so every portal has his own cache it works but the template cache is still in the default folder i  cant find the file where this path is defined.

I could show you what i mean or whatfor i am using this. But only if i am allowed i dont want to get a warning for advertising or so if i post the link:)
 



 
Sascha833Send private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Change Template Cache Path 
 
Eek,  

Sorry mate, I forgot that you were setting up something special with Icy Phoenix.  

Anyway, this any use to you?

includes/template.php

Code: [Download] [Hide] [Select]
define('XS_DIR_CACHE', 'cache');

 
 
 
Back to topPage bottom
Reply with quote Download Post 
Post Re: Change Template Cache Path 
 
thx a lot! now everything works fine thx
 



 
Sascha833Send private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Change Template Cache Path 
 
PM me a URL to your "Blog" when you finish setting it up, as I'd love to see what you have done with Icy-P.
 
 
 
Back to topPage bottom
Reply with quote Download Post 
Post Re: Change Template Cache Path 
 
Lopalong wrote: [View Post]
PM me a URL to your "Blog" when you finish setting it up, as I'd love to see what you have done with Icy-P.


I wish too being PM'd with the URL to make it a friendly visit...
Perhaps you should publish it at the Show off (Talk with MG first)   

Or, as many chat users say for that: "+1"
 



 
novice programmerSend private message  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron