Jump to content
php.lv forumi

nestrada combine scripts


TheQn

Recommended Posts

vo ko uzrada access

ip - - [11/Aug/2011:14:18:32 +0300] "GET /css/reset.css,global.css HTTP/1.1" 404 20

ip - - [11/Aug/2011:14:18:47 +0300] "GET /css/reset.css,global.css HTTP/1.1" 404 20

ip - - [11/Aug/2011:14:18:50 +0300] "GET /css/reset.css,global.css HTTP/1.1" 404 20

bet nezinu kapec rada 404 ja es ieliku pareizu celu lids css folderim pasa combine.php, un .htaccess bet kludu nevaru atrast.

Protams, ka tā neies. vajag tev rakstīt katru atsevišķi nevis visu kopā.

vajag lai GET pieprasījums pieprasas katur atsevisķi, nevis visu vienā rindiņa, un tad apstradat tos mēslus.

+ Man liekas, ka tev vajag kko tādu

RewriteRule ^css/(.*\.css)$ /engine/combine.php?type=css&files[]=$1

Un tad to $_GET['files'] nedaudz savādāk ķidāt.

 

Kaut kad hvz, stulbs combine no kura nekāda jēga un nelasīt manis augstāk rakstīto, jo šaubos ka tur ir kkas pareizs :)

Edited by waplet
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...