$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>php - How to add a full working piece of website already coded, to a large scale Website design project?|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

php - How to add a full working piece of website already coded, to a large scale Website design project?

matteradmin10PV0评论

I've written 5 PHP files each of which are dependant of each other and contains one style.css also. This whole project works fine when executed alone and includes home.php which includes HTML code for front end design and is also the home page.

But I wanted this 5 PHP files to be included as a part in my Large-Scale website design project so added whole of that folder under C:\xampp\htdocs\wordpress\wp-content\themes\oceanwp\admin where admin is the folder that contains my mini project (5 PHP files) which worked fine when placed in C:\xampp\htdocs\admin and surfing as localhost\admin\login.php (on Chrome Browser).

I've added /*** Template Name: admin-login*/ to my home.php.

I have also added admin-login as Default Template to my Admin-Login Page on WOrdpress under Page Attributes But on placing my mini project in C:\xampp\htdocs\wordpress\wp-content\themes\oceanwp\admin I was given a 404 Not Found error when browsed as localhost\wordpress\admin\login.php

Post a comment

comment list (0)

  1. No comments so far