{"id":3424,"date":"2026-08-16T07:54:55","date_gmt":"2026-08-16T07:54:55","guid":{"rendered":"https:\/\/samayshikharnews.com\/?p=3424"},"modified":"2026-08-16T07:54:55","modified_gmt":"2026-08-16T07:54:55","slug":"3424","status":"publish","type":"post","link":"https:\/\/samayshikharnews.com\/?p=3424","title":{"rendered":""},"content":{"rendered":"<p><?php \/* Application Developed By Abhinav Software Website: http:\/\/abhinavsoftware.com Email: contact@abhinavsoftware.com Developer: Ankur Gupta (ankurgupta555@gmail.com) Copyright Ankur Gupta For licensing and terms of use please read license.txt file *\/ \/\/ uncomment the following to define a path alias \/\/ Yii::setPathOfAlias('local','path\/to\/local-folder'); \/\/ This is the main Web application configuration. Any writable \/\/ CWebApplication properties can be configured here. return array( 'basePath' =&amp;gt; dirname(__FILE__) . DIRECTORY_SEPARATOR . '..',&amp;lt;br ?> &#8216;name&#8217; =&gt; &#8216;Abhinav Software &#8211; Epaper CMS&#8217;,<br \/>\n&#8216;defaultController&#8217; =&gt; &#8216;main&#8217;,<br \/>\n\/\/ preloading &#8216;log&#8217; component<br \/>\n&#8216;preload&#8217; =&gt; array(&#8216;log&#8217;),<br \/>\n&#8216;onBeginRequest&#8217; =&gt; array(&#8216;ModuleLoader&#8217;, &#8216;loadModules&#8217;),<br \/>\n\/\/ other controllers<br \/>\n\/\/ autoloading model and component classes<\/p>\n<p>&#8216;import&#8217; =&gt; array(<br \/>\n&#8216;ext.wideimage.*&#8217;,<br \/>\n&#8216;ext.yii-mailer.*&#8217;,<br \/>\n&#8216;application.models.*&#8217;,<br \/>\n&#8216;application.models.forms.*&#8217;,<br \/>\n&#8216;application.components.*&#8217;,<br \/>\n&#8216;application.components.abstracts.*&#8217;,<br \/>\n&#8216;application.components.interfaces.*&#8217;,<br \/>\n&#8216;zii.widgets.*&#8217;,<br \/>\n&#8216;ext.iealert.IEAlertWidget&#8217;,<br \/>\n&#8216;application.nplugins.settings.*&#8217;,<br \/>\n&#8216;application.nplugins.menuitems.*&#8217;,<br \/>\n&#8216;application.nplugins.widgets.*&#8217;,<\/p>\n<p>),<br \/>\n&#8216;modules&#8217; =&gt; array(<br \/>\n\/\/ uncomment the following to enable the Gii tool<br \/>\n&#8216;epaper&#8217;, &#8216;page&#8217;, &#8216;slideshow&#8217;,&#8217;media&#8217;,<br \/>\n&#8216;gii&#8217; =&gt; array(<br \/>\n&#8216;class&#8217; =&gt; &#8216;system.gii.GiiModule&#8217;,<br \/>\n&#8216;password&#8217; =&gt; &#8216;pass&#8217;,<br \/>\n\/\/ If removed, Gii defaults to localhost only. Edit carefully to taste.<br \/>\n&#8216;ipFilters&#8217; =&gt; array(&#8216;127.0.0.1&#8217;, &#8216;10.0.0.*&#8217;),<br \/>\n),<br \/>\n),<br \/>\n\/\/ application components<br \/>\n&#8216;components&#8217; =&gt; array(<br \/>\n&#8216;user&#8217; =&gt; array(<br \/>\n\/\/ enable cookie-based authentication<br \/>\n&#8216;allowAutoLogin&#8217; =&gt; true,<br \/>\n),<br \/>\n&#8216;mobileDetect&#8217; =&gt; array(<br \/>\n&#8216;class&#8217; =&gt; &#8216;ext.mobiledetect.MobileDetect&#8217;<br \/>\n),<br \/>\n&#8216;cache&#8217; =&gt; array(<br \/>\n&#8216;class&#8217; =&gt; &#8216;system.caching.CFileCache&#8217;,<br \/>\n),<br \/>\n&#8216;coreMessages&#8217; =&gt; array(&#8216;basePath&#8217; =&gt; &#8216;protected\/messages&#8217;),<\/p>\n<p>\/\/ uncomment the following to enable URLs in path-format<br \/>\n&#8216;urlManager&#8217; =&gt; array(<br \/>\n&#8216;urlFormat&#8217; =&gt; &#8216;path&#8217;,<br \/>\n&#8216;showScriptName&#8217; =&gt; false,<br \/>\n&#8216;rules&#8217; =&gt; array(<br \/>\n&#8216;admin&#8217; =&gt; &#8216;admin\/default\/index&#8217;,<\/p>\n<p>\/\/ &#8216;admin\/\/&lt;controller:\\w+&gt;\/&lt;id:\\d+&gt;&#8217; =&gt; &#8216;\/admin\/\/view&#8217;,<br \/>\n&#8220;imageprocessor&#8221; =&gt; &#8216;image\/index&#8217;,<\/p>\n<p>&#8216;contact\/&#8217; =&gt; &#8216;main\/contact&#8217;,<br \/>\n&#8216;signin\/&#8217; =&gt; &#8216;main\/signin&#8217;,<br \/>\n&#8216;rss\/&#8217; =&gt; &#8216;main\/rss&#8217;,<br \/>\n&#8216;signout\/&#8217; =&gt; &#8216;main\/signout&#8217;,<br \/>\n&#8216;reset-password\/&#8217; =&gt; &#8216;main\/passwordreset&#8217;,<br \/>\n&#8216;error\/&#8217; =&gt; &#8216;main\/error&#8217;,<\/p>\n<p>&#8216;\/&#8217; =&gt; &#8216;\/default\/index&#8217;,<br \/>\n&#8216;admin\/\/&#8217; =&gt; &#8216;\/admin\/default\/index&#8217;,<br \/>\n&#8216;admin\/\/&lt;controller:\\w+&gt;\/&lt;action:\\w+&gt;&#8217; =&gt; &#8216;\/admin\/\/&#8217;,<\/p>\n<p>\/*<br \/>\n&#8216;&lt;controller:\\w+&gt;\/&lt;id:\\d+&gt;&#8217; =&gt; &#8216;\/view&#8217;,<br \/>\n&#8216;&lt;controller:\\w+&gt;\/&lt;action:\\w+&gt;\/&lt;id:\\d+&gt;&#8217; =&gt; &#8216;\/&#8217;,<br \/>\n&#8216;&lt;controller:\\w+&gt;\/&lt;action:\\w+&gt;&#8217; =&gt; &#8216;\/&#8217;, *\/<br \/>\n),<br \/>\n),<br \/>\n&#8216;db&#8217; =&gt; array(<br \/>\n&#8216;connectionString&#8217; =&gt; &#8216;sqlite:&#8217; . dirname(__FILE__) . &#8216;\/..\/data\/testdrive.db&#8217;,<br \/>\n),<br \/>\n\/\/ uncomment the following to use a MySQL database<br \/>\n&#8216;db&#8217; =&gt; require(__DIR__ . &#8216;\/db.php&#8217;),<br \/>\n&#8216;errorHandler&#8217; =&gt; array(<br \/>\n\/\/ use &#8216;site\/error&#8217; action to display errors<br \/>\n&#8216;errorAction&#8217; =&gt; &#8216;main\/error&#8217;,<br \/>\n),<br \/>\n&#8216;log&#8217; =&gt; array(<br \/>\n&#8216;class&#8217; =&gt; &#8216;CLogRouter&#8217;,<br \/>\n&#8216;routes&#8217; =&gt; array(<br \/>\narray(<br \/>\n&#8216;class&#8217; =&gt; &#8216;CFileLogRoute&#8217;,<br \/>\n&#8216;levels&#8217; =&gt; &#8216;error, warning&#8217;,<br \/>\n),<br \/>\n\/\/ uncomment the following to show log messages on web pages<br \/>\n\/*<br \/>\narray(<br \/>\n&#8216;class&#8217;=&gt;&#8217;CWebLogRoute&#8217;,<br \/>\n),<br \/>\n*\/<br \/>\n),<br \/>\n),<br \/>\n),<br \/>\n\/\/ application-level parameters that can be accessed<br \/>\n\/\/ using Yii::app()-&gt;params[&#8216;paramName&#8217;]\n&#8216;params&#8217; =&gt; array(<br \/>\n\/\/ this is used in contact page<br \/>\n&#8220;uploadDir&#8221; =&gt; &#8220;\/uploads\/&#8221;,<br \/>\n&#8220;sitemapDir&#8221; =&gt; &#8220;\/sitemaps\/&#8221;,<\/p>\n<p>&#8216;log&#8217;=&gt;array(<br \/>\n&#8216;class&#8217;=&gt;&#8217;CLogRouter&#8217;,<br \/>\n&#8216;routes&#8217;=&gt;array(<br \/>\narray(<br \/>\n&#8216;class&#8217;=&gt;&#8217;CFileLogRoute&#8217;,<br \/>\n&#8216;levels&#8217;=&gt;&#8217;error, warning, trace&#8217;,<br \/>\n),<br \/>\n),<br \/>\n),<br \/>\n),<br \/>\n);<\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":7,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3424","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/samayshikharnews.com\/index.php?rest_route=\/wp\/v2\/posts\/3424"}],"collection":[{"href":"https:\/\/samayshikharnews.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/samayshikharnews.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/samayshikharnews.com\/index.php?rest_route=\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/samayshikharnews.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3424"}],"version-history":[{"count":1,"href":"https:\/\/samayshikharnews.com\/index.php?rest_route=\/wp\/v2\/posts\/3424\/revisions"}],"predecessor-version":[{"id":3425,"href":"https:\/\/samayshikharnews.com\/index.php?rest_route=\/wp\/v2\/posts\/3424\/revisions\/3425"}],"wp:attachment":[{"href":"https:\/\/samayshikharnews.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3424"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/samayshikharnews.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3424"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/samayshikharnews.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3424"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}