ãã¬ã¼ã ã¯ã¼ã¯ã¨å¼·ããã§ããããã®ãããåç´åãã¦èããã¨ã以ä¸ã®1è¡ã«éç´ããã¾ãã View(Action($_GET['url'])); ããã¯ä½ããã¦ãããã¨ããã¨ï¼ ã©ãã«ã¢ã¯ã»ã¹ããã¦ããããåå¾ããã ($_GET[âurlâ]) å¿
è¦ãªå¦çãæ½ãã (Action) å¦çã®çµæã表示ããã (View) ã©ãã«ã¢ã¯ã»ã¹ããã¦ããããåå¾ãã æãåã£ã¦ã.htaccessã«æ¬¡ã®ããã«æ¸ãã¦ãã¾ãã¾ãã RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php?url=$1 [QSA,L] ããã¯ãã©ããªURLãå©ãã¦ãå
¨ã¦index.phpãå¼ã¶ãã¨ãããã®ã§ãã(ããã«æ¢ã«ãã¡ã¤ã«ãåå¨ããªããã°
{{#tags}}- {{label}}
{{/tags}}