Yii and Wordpress Admin Integration -


i have integrated yii , wordpress works totally fine url management using article http://www.yiiframework.com/wiki/322/integrating-wordpress-and-yii-still-another-approach-using-yii-as-the-router-controller/

now want save yii models wordpress, want access yii models functions.php unable load model directly.

i tried

if (is_admin()) { global $yii,$config; if (is_null($yii)) {     $yii = abspath . '../../framework/yii.php';     $config=abspath. '../protected/config/main.php'; } require_once($yii); yii::createwebapplication($config)->run(); } 

but saying wp-theme directory not there... want save model yii itself, how ?


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -