ハローグッドピープル!!
「モジュラーアプローチ」フォルダー構造を使用する Zend Framework 1.11.12 (1.10.8 からアップグレード) に基づく Web アプリケーション (このタイプの最初の) がありますapplication/modules
。Doctrine 1.2.4を使用しました
またlibrary
、2:CKEditor
とPGRFilemanager
. 管理パネルから画像フォルダーにファイルをアップロードするための pgrfile マネージャー。ここにグローバルに私のファイル構造があります。
/application
/configs
application.ini
routes.ini
/layouts
/scripts
/partials
*.all_the_partials_files.phtml
*.all_the_layouts.phtml
/modules
all_the_module_folders
Boostrap.php
/logs
/library
/Zend
/Doctrine
/SwiftMailer
/Abra //where all my classes reside
/Model
User.php
Role.php
other_doctrine_entities_class
/public
/javascript
/css
/images
.htaccess // added an htaccess file here
/fonts
`/ckeditor`
a_lot_of_files_including_php_files
other_folders
/plugins
other_folders
`/pgrfilemanager`
/php
auth.php
myconfig.php
other_folders_and_files_including_php
index.php
.htaccess
このサイトを開発していた時点では、Zend_Acl を使用していなかったので/public/ckeditor/plugins/pgrfilemanager/php/auth.php
、pgrfilemanager にはデフォルトの認証機能が付属していたため、session_start() はしばらくの間正常に機能していました。しかし、Zend_Acl の使用を開始すると、ファイルから呼び出されたClass __PHP_Incomplete_Class has no unserializer Array
ときに例外が発生するなどの問題が発生します。私は当初、私が使用していなかったという事実によるものだと思っていましたが、どうやらここで説明されているこの事実によるものだっ たようです (間違っている場合は訂正してください) session_start()
~~/auth.php
Zend_Session
それの使い方?読んでくれてありがとう