waplet Posted August 11, 2011 Report Share Posted August 11, 2011 (edited) 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 August 11, 2011 by waplet Quote Link to comment Share on other sites More sharing options...
TheQn Posted August 11, 2011 Author Report Share Posted August 11, 2011 Pats izlaboju kluda bija elseif($type == 'css' && substr($path, -4) !== '.css') { $file .= '.css'; } samainiju uz elseif($type == 'css' && substr($path, -4) !== '.css') { } Quote Link to comment Share on other sites More sharing options...
daGrevis Posted August 11, 2011 Report Share Posted August 11, 2011 Tāda jēga... :D :D } elseif (statement1 && statement2 && statement3 && statement4 && statement5 && statement6 && statement7) {} Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.